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

master
Alexander Blair 7 years ago
parent 7a52ba6004
commit 26890d28a0

@ -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
}
Loading…
Cancel
Save