hrm
parent
5a0f567da3
commit
00eda1e419
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue