mirror of
https://github.com/chubin/wttr.in
synced 2025-01-26 02:34:59 +00:00
parent
f31fff6f32
commit
91c48e8d14
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ func main() {
|
|||
response := processRequest(r)
|
||||
|
||||
copyHeader(w.Header(), response.Header)
|
||||
w.Header().Set("Access-Control-Allow-Origin", "*")
|
||||
w.WriteHeader(response.StatusCode)
|
||||
w.Write(response.Body)
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue