mirror of
https://github.com/WiiLink24/wfc-server.git
synced 2026-08-06 02:18:37 -05:00
This commit is contained in:
parent
4fc6a27749
commit
d5c1a80a06
|
|
@ -76,9 +76,9 @@ func Shutdown() {
|
|||
}
|
||||
}
|
||||
|
||||
var regexRaceHost = regexp.MustCompile(`^([a-z\-]+\.)?race\.gs\.`)
|
||||
var regexSakeHost = regexp.MustCompile(`^([a-z\-]+\.)?sake\.gs\.`)
|
||||
var regexGamestatsHost = regexp.MustCompile(`^([a-z\-]+\.)?gamestats2?\.gs\.`)
|
||||
var regexRaceHost = regexp.MustCompile(`(\.|^)race\.(gs\.|gamespy\.com$)`)
|
||||
var regexSakeHost = regexp.MustCompile(`(\.|^)sake\.(gs\.|gamespy\.com$)`)
|
||||
var regexGamestatsHost = regexp.MustCompile(`(\.|^)gamestats2?\.(gs\.|gamespy\.com$)`)
|
||||
var regexStage1URL = regexp.MustCompile(`^/w([0-9])$`)
|
||||
|
||||
func handleRequest(w http.ResponseWriter, r *http.Request) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user