refactor: categorize leftover config options

This commit is contained in:
Stavros
2026-03-02 19:32:25 +02:00
parent c48181a8d8
commit 4caa6bf8ec
11 changed files with 80 additions and 50 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()