Skip to content

Instantly share code, notes, and snippets.

@jthegedus
Created May 25, 2020 03:03
Show Gist options
  • Save jthegedus/db7eea8e31d94c1217b11ca807a6468d to your computer and use it in GitHub Desktop.
Save jthegedus/db7eea8e31d94c1217b11ca807a6468d to your computer and use it in GitHub Desktop.
github.com/jthegedus/firebase-gcp-examples/tree/master/functions-nextjs
{
...
"hosting": [{
"site": "TODO_YOUR_WEB_APP_DEPLOY_TARGET_HERE",
"public": "out",
"cleanUrls": true,
"rewrites": [{
"source": "**",
"function": "nextjs-server"
}]
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment