mirror of
https://github.com/Theodor-Springmann-Stiftung/lenz-web.git
synced 2025-10-29 09:15:33 +00:00
BUGFIX: race condition in engine; index page controller
This commit is contained in:
11
controllers/index.go
Normal file
11
controllers/index.go
Normal 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)
|
||||
}
|
||||
Reference in New Issue
Block a user