I've seen other stack overflow answers for using Firebase rewrites to route /api/** to their Express app function.
I'm following those instructions, but also trying to host a single page app.
Combining the two doesn't seem to work as the API routes are getting mapped to my index.html file still.
These are my rewrites
"rewrites": [
{
"source": "/api/**",
"function": "api"
},
{
"source": "**",
"destination": "/index.html"
}
]
Is this possible?