diff --git a/cmd/server/main.go b/cmd/server/main.go index a09e5a3..f6455ac 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -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