diff --git a/main.go b/main.go index 3aef787..0be5c88 100644 --- a/main.go +++ b/main.go @@ -72,7 +72,7 @@ func extractSubdomain(host, domain string) string { host = host[:idx] } - // Bare domain — no subdomain + // Bare domain — no subdomain (e.g. "nextwks.eu") domainWithDot := "." + domain if host == domain { return "" @@ -86,22 +86,6 @@ func extractSubdomain(host, domain string) string { // --- Handlers --- -func boilerplateHandler(w http.ResponseWriter, r *http.Request) { - w.Header().Set("Content-Type", "text/html; charset=utf-8") - w.WriteHeader(http.StatusOK) - fmt.Fprint(w, ` - -
- -The Self-Hosted Workspace for Startups
- -`) -} - func coreAppHandler(w http.ResponseWriter, r *http.Request) { w.Header().Set("Content-Type", "text/html; charset=utf-8") w.WriteHeader(http.StatusOK) @@ -118,6 +102,22 @@ func coreAppHandler(w http.ResponseWriter, r *http.Request) {