1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-11 16:40:55 +00:00

rename http targets

This commit is contained in:
Kane York 2015-10-26 10:24:28 -07:00
parent 898057cc20
commit 730ce39f72

View file

@ -127,8 +127,8 @@ func SetupServerAndHandle(config *Config, tlsConfig *tls.Config, serveMux *http.
serveMux = http.DefaultServeMux serveMux = http.DefaultServeMux
} }
serveMux.HandleFunc("/", sockServer.ServeHTTP) serveMux.HandleFunc("/", sockServer.ServeHTTP)
serveMux.HandleFunc("/pubmsg", HBackendPublishRequest) serveMux.HandleFunc("/pub_msg", HBackendPublishRequest)
serveMux.HandleFunc("/updatepub", HBackendUpdateAndPublish) serveMux.HandleFunc("/update_and_pub", HBackendUpdateAndPublish)
} }
// Handle a new websocket connection from a FFZ client. // Handle a new websocket connection from a FFZ client.