Skip to content

Commit

Permalink
fix(api): switch back to us-central1
Browse files Browse the repository at this point in the history
It's faster for some reason
  • Loading branch information
yamcodes committed Mar 30, 2024
1 parent 49f668f commit 97508c1
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions apps/api/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,7 @@ setContentTypeParser(

registerRoutes(app);

export const server = onRequest(
{
region: 'asia-south1',
},
async (request, reply) => {
await app.ready();
app.server.emit('request', request, reply);
}
);
export const server = onRequest(async (request, reply) => {
await app.ready();
app.server.emit('request', request, reply);
});

0 comments on commit 97508c1

Please sign in to comment.