Files
lenz-web/controllers/routes.go
Simon Martens 66fedf4baf Public Lib
2025-03-23 21:19:12 +01:00

14 lines
362 B
Go

package controllers
import (
"github.com/Theodor-Springmann-Stiftung/lenz-web/helpers/middleware"
"github.com/Theodor-Springmann-Stiftung/lenz-web/server"
"github.com/Theodor-Springmann-Stiftung/lenz-web/views"
)
const ASSETS_URL = "/assets"
func Register(server server.Server) {
server.Server.Use(ASSETS_URL, middleware.StaticHandler(&views.StaticFS))
}