philverify-api / firebase.json
Ryan Christian D. Deniega
fix: cold start 502, favicon, verify state persistence
b1c84b5
{
"firestore": {
"rules": "firestore.rules",
"indexes": "firestore.indexes.json"
},
"hosting": {
"public": "frontend/dist",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "/api/**",
"run": {
"serviceId": "philverify-api",
"region": "asia-southeast1"
}
},
{
"source": "**",
"destination": "/index.html"
}
],
"headers": [
{
"source": "/api/**",
"headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "*"
}
]
}
]
}
}