A brand new welcome page (installer)

This commit is contained in:
2025-11-25 15:16:57 +08:00
parent 3c6f8714d2
commit 630d1d2f07
18 changed files with 332 additions and 20 deletions

View File

@@ -2,6 +2,14 @@ package handler
import "net/http"
func RouteWebDevTools() *http.ServeMux {
mux := http.NewServeMux()
mux.HandleFunc("/.well-known/", func(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNoContent)
})
return mux
}
func RouteStaticFiles() *http.ServeMux {
mux := http.NewServeMux()
mux.HandleFunc("/favicon.ico", StaticFileHandler)