Open roshandeorukhkar opened 5 years ago
developMiddleware: app => {
app.use(
"/auth",
proxy({
target: "http://localhost:5001",
pathRewrite: {
"/auth": /${FIREBASE_PROJECT_ID}/${FIREBASE_APP_ZONE || 'us-central1'}/auth
,
},
})
)
}
It is showing 404 error for /auth
I have deployed code as per gatsby guide lines. I am calling /auth end point for firebase auth() function. It is working fine on local with proxy(developMiddleware) but not able to connect on production. Please help.