16 lines
323 B
Go
16 lines
323 B
Go
package api
|
|
|
|
import (
|
|
"adams549659584/go-proxy-bingai/api/helper"
|
|
"adams549659584/go-proxy-bingai/common"
|
|
"net/http"
|
|
)
|
|
|
|
func Sydney(w http.ResponseWriter, r *http.Request) {
|
|
if !helper.CheckAuth(r) {
|
|
helper.UnauthorizedResult(w)
|
|
return
|
|
}
|
|
common.NewSingleHostReverseProxy(common.BING_SYDNEY_URL).ServeHTTP(w, r)
|
|
}
|