chore(server): call SyncAllowedExtensions on startup

This commit is contained in:
2026-05-16 19:31:09 -04:00
parent 797726b68e
commit da3287ef4d
+3
View File
@@ -70,6 +70,9 @@ func main() {
// Create library service
libraryService := services.NewLibraryService(queries)
// Sync Go AllowedExtensions into DB so API clients see correct extensions
libraryService.SyncAllowedExtensions(context.Background())
// Create worker for background tasks
worker := services.NewWorker(3, connManager)
services.WorkerInstance = worker