package api import ( "adams549659584/go-proxy-bingai/common" "adams549659584/go-proxy-bingai/common/helper" "net/http" ) func Edgesvc(w http.ResponseWriter, r *http.Request) { if !helper.CheckAuth(r) { helper.UnauthorizedResult(w) return } common.NewSingleHostReverseProxy(common.EDGE_SVC_URL).ServeHTTP(w, r) }