mirror of
https://github.com/Theodor-Springmann-Stiftung/lenz-web.git
synced 2026-03-21 13:55:30 +00:00
Started server
This commit is contained in:
11
server/endpoints.go
Normal file
11
server/endpoints.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package server
|
||||
|
||||
import (
|
||||
"github.com/Theodor-Springmann-Stiftung/lenz-web/templates"
|
||||
"github.com/labstack/echo/v5"
|
||||
)
|
||||
|
||||
func MapStatic(e *echo.Echo) {
|
||||
// INFO: Static files here:
|
||||
e.StaticFS("/public", templates.PublicFS)
|
||||
}
|
||||
Reference in New Issue
Block a user