master
bel 2025-06-19 16:52:36 -06:00
parent 5a0f567da3
commit 00eda1e419
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ func pushMeta(r *http.Request, k, v string) {
func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) { func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
foo := s.Proxy foo := s.Proxy
if strings.Split(r.Host, ".")[0] == "_" { if strings.Split(r.URL.Host, ".")[0] == "_" {
keys := s.db.Keys(nsRouting) keys := s.db.Keys(nsRouting)
hostURL := map[string]string{} hostURL := map[string]string{}
for _, key := range keys { for _, key := range keys {