Update for the new CORS handling for frontend for the API.

This commit is contained in:
Alexander Blair
2017-02-15 20:24:52 -08:00
parent 7a52ba6004
commit 26890d28a0
+5 -1
View File
@@ -5,7 +5,11 @@
proxy /api 127.0.0.1:8001 {
without /api
}
cors
header / {
Access-Control-Allow-Origin *
Access-Control-Allow-Methods "GET, POST, OPTIONS"
Access-Control-Allow-Headers "Content-Type"
}
gzip
mime .manifest text/cache-manifest
}