mirror of
https://github.com/jwinterm/nodejs-pool.git
synced 2026-10-17 05:21:27 +02:00
Update for the new CORS handling for frontend for the API.
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user