This commit is contained in:
parent
639585ec08
commit
ed99c7ce5f
5
site.go
5
site.go
@ -48,6 +48,11 @@ func registerSite(mux *bunrouter.Router) {
|
||||
return HTTPError{404, "page not found: " + req.URL.Path}
|
||||
})
|
||||
|
||||
g.GET("/install", func(w http.ResponseWriter, req bunrouter.Request) error {
|
||||
http.Redirect(w, req.Request, "https://gitea.elara.ws/lure/lure/raw/branch/master/scripts/install.sh", http.StatusFound)
|
||||
return nil
|
||||
})
|
||||
|
||||
g.GET("/about", func(w http.ResponseWriter, req bunrouter.Request) error {
|
||||
return ns.ExecuteTemplate(w, "about.html", nil)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user