#109 move last url to new layout
Some checks failed
Build Docker Image / Explore-Gitea-Actions (push) Failing after 7s
Some checks failed
Build Docker Image / Explore-Gitea-Actions (push) Failing after 7s
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
||||
"github.com/a-h/templ"
|
||||
)
|
||||
|
||||
func HandleStaticUi(w http.ResponseWriter, r *http.Request) {
|
||||
func HandleIndexAnd404(w http.ResponseWriter, r *http.Request) {
|
||||
var comp templ.Component = nil
|
||||
if r.URL.Path != "/" {
|
||||
comp = templates.Layout(templates.NotFound())
|
||||
|
||||
Reference in New Issue
Block a user