mirror of
https://github.com/jwinterm/nodejs-pool.git
synced 2026-12-03 12:04:04 +01:00
Adding the token into the permitted headers for CORS.
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
header / {
|
header / {
|
||||||
Access-Control-Allow-Origin *
|
Access-Control-Allow-Origin *
|
||||||
Access-Control-Allow-Methods "GET, POST, OPTIONS"
|
Access-Control-Allow-Methods "GET, POST, OPTIONS"
|
||||||
Access-Control-Allow-Headers "Content-Type"
|
Access-Control-Allow-Headers "Content-Type, x-access-token"
|
||||||
}
|
}
|
||||||
gzip
|
gzip
|
||||||
mime .manifest text/cache-manifest
|
mime .manifest text/cache-manifest
|
||||||
|
|||||||
Reference in New Issue
Block a user