Initial broker registration of browser proxies

- broker.coffee contains the xhr stuff
- COR enabled on the go broker
- POST body reflection works
This commit is contained in:
Serene Han 2016-01-20 16:16:20 -08:00
parent f2d8a749f4
commit 28e557fb43
4 changed files with 57 additions and 8 deletions

View file

@ -48,7 +48,7 @@ func regHandler(w http.ResponseWriter, r *http.Request) {
return
log.Println("Invalid data.")
}
w.Header().Set("Access-Control-Allow-Origin", "*")
// TODO: Get browser snowflake to talkto this appengine instance
// so it can reply with an answer, and not just the offer again :)
// TODO: Real broker which matches clients and snowflake proxies.