refactor: categorize leftover config options (#682)

* refactor: categorize leftover config options

* chore: update config description
This commit is contained in:
Stavros
2026-03-02 19:49:59 +02:00
committed by GitHub
parent 24c5b35bdf
commit cd410b6cdf
11 changed files with 82 additions and 52 deletions

View File

@@ -18,7 +18,8 @@ func TestResourcesHandler(t *testing.T) {
group := router.Group("/")
ctrl := controller.NewResourcesController(controller.ResourcesControllerConfig{
ResourcesDir: "/tmp/tinyauth",
Path: "/tmp/tinyauth",
Enabled: true,
}, group)
ctrl.SetupRoutes()