BUGFIX: race condition in engine; index page controller

This commit is contained in:
Simon Martens
2025-03-24 15:30:07 +01:00
parent 66fedf4baf
commit 4bff7fb17a
39 changed files with 59138 additions and 302 deletions

11
controllers/index.go Normal file
View File

@@ -0,0 +1,11 @@
package controllers
import (
"github.com/Theodor-Springmann-Stiftung/lenz-web/xmlmodels"
"github.com/gofiber/fiber/v2"
)
func GetIndex(fiber *fiber.Ctx) error {
_ = xmlmodels.Get()
return fiber.Render("/", nil)
}