Skip to content

Commit

Permalink
fix(hosting): set region to us for next
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelmord committed Apr 20, 2020
1 parent 3982029 commit 0341223
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"workspaces": [
"./packages/*"
],
"main": "index.js",
"main": "n/a",
"scripts": {
"deploy": "firebase deploy",
"install-deps": "cd \"dist/app/functions\" && yarn install",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const dev = process.env.NODE_ENV !== 'production';
const app = next({ dev, conf: { distDir: 'next' } });
const handle = app.getRequestHandler();

export const nextHandler = functions.region('europe-west1').https.onRequest(
export const nextHandler = functions.https.onRequest(
// eslint-disable-next-line @typescript-eslint/no-misused-promises
async (req, res): Promise<void | Response> => {
await app.prepare();
Expand Down

0 comments on commit 0341223

Please sign in to comment.