Skip to content

Instantly share code, notes, and snippets.

@yutakahashi114
Created September 29, 2019 07:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yutakahashi114/30a759144b9ff8bf026536e45669ec29 to your computer and use it in GitHub Desktop.
Save yutakahashi114/30a759144b9ff8bf026536e45669ec29 to your computer and use it in GitHub Desktop.
{
"hosting": {
"public": "dist",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"headers": [
{
"source": "/api/**",
"headers": [
{
"key": "Cache-Control",
"value": "no-cache, no-store, must-revalidate"
}
]
}
],
"rewrites": [
{
"source": "/api/**",
"run": {
"serviceId": "go-nuxt-mysql",
"region": "us-central1"
}
},
{
"source": "**",
"destination": "/index.html"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment