feat: add option to disable resources server

This commit is contained in:
Stavros
2025-09-22 15:52:43 +03:00
parent e114bf0943
commit f8047a6c2e
5 changed files with 17 additions and 17 deletions

View File

@@ -255,7 +255,8 @@ func (app *BootstrapApp) Setup() error {
}, apiRouter, authService)
resourcesController := controller.NewResourcesController(controller.ResourcesControllerConfig{
ResourcesDir: app.config.ResourcesDir,
ResourcesDir: app.config.ResourcesDir,
ResourcesDisabled: app.config.DisableResources,
}, mainRouter)
healthController := controller.NewHealthController(apiRouter)