Fix auth base64, fix iPhone things
This commit is contained in:
parent
ccb9da9333
commit
160c72997f
7 changed files with 48 additions and 11 deletions
|
@ -340,6 +340,7 @@ func (s *Server) handleWebConfig(w http.ResponseWriter, r *http.Request) error {
|
|||
appRoot = "/app"
|
||||
}
|
||||
disallowedTopicsStr := `"` + strings.Join(disallowedTopics, `", "`) + `"`
|
||||
w.Header().Set("Content-Type", "application/json")
|
||||
_, err := io.WriteString(w, fmt.Sprintf(`// Generated server configuration
|
||||
var config = {
|
||||
appRoot: "%s",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue