firebase / firebase/functions-samples
rewrite /path to root domain(/) for Single page application with any method
Open
- Dominant language
- JavaScript
- Stars
- 12.2k
- Forks
- 3.8k
- Avg merge
- 3d 23h
- Merged PRs (30d)
- 1
Description
I am trying to map domain.com to domain.com/#/api. But it always routes back to home page. Anything I can do here to fix this ?
```{
"hosting": {
"public": "public",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/#/api"
}
]
}
}
```
Contributor guide
Assessment
This issue has not been assessed yet.