CORS for Sprig console endpoint

This commit is contained in:
Ella 2023-02-04 14:26:13 -05:00
parent 3236afeb07
commit ca2a268d0e

View file

@ -14,6 +14,20 @@
"value": "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version"
}
]
},
{
"source": "/api/sprig-console",
"headers": [
{ "key": "Access-Control-Allow-Origin", "value": "*" },
{
"key": "Access-Control-Allow-Methods",
"value": "GET"
},
{
"key": "Access-Control-Allow-Headers",
"value": "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version"
}
]
}
]
}