CORS error tryouts.

This commit is contained in:
Naida Vatric
2020-02-18 23:49:00 +01:00
parent c11248e100
commit b13b4bc7c2
3 changed files with 20 additions and 9 deletions

View File

@@ -1,8 +1,12 @@
[
{
"origin": ["http://localhost"],
"responseHeader": ["Content-Type"],
"method": ["GET", "HEAD", "DELETE"],
"origin": ["*"],
"responseHeader": [
"Content-Type",
"Access-Control-Allow-Origin",
"x-goog-resumable"
],
"method": ["GET", "HEAD", "DELETE", "POST", "PUT", "OPTIONS"],
"maxAgeSeconds": 3600
}
]