We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See https://firebase.google.com/docs/functions/manage-functions#modify-region
context: https://github.com/nuxt/framework/discussions/3123
The text was updated successfully, but these errors were encountered:
unjs/nitro#90
Sorry, something went wrong.
It would be nice to define the default region somehow, but firebase.json doesn't support that. So regions are usually defined per function:
firebase.json
exports.webhookEurope = functions .region('europe-west1') .https.onRequest((req, res) => { res.send("Hello from Europe"); });
How could it be defined in the nuxt handler?
export default defineEventHandler((event) => { return { message:"Hello" } })
This seems tricky... Could it be that we use the folder structure somehow? For example, if you're using Firebase then you could do the following:
server/api/europe-west1/posts.get.ts server/api/asia-southeast1/posts.get.ts
or...
server/api/posts.get.europe-west1.ts server/api/posts.get.asia-southeast1.ts
Is this closed because it is possible now with configuration of not happening?
I am looking at this for SSR processing of a nuxt site and it seems I can't set the region in any way?
This is now being tracked in the upstream issue linked in the above comment: unjs/nitro#90.
No branches or pull requests
See https://firebase.google.com/docs/functions/manage-functions#modify-region
context: https://github.com/nuxt/framework/discussions/3123
The text was updated successfully, but these errors were encountered: