Skip to content

Commit

Permalink
Update generate.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
babaohuang committed Dec 15, 2023
1 parent 0e2b99e commit becd4ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/api/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { APIRoute } from 'astro'
export const config = {
runtime: 'edge', // this is a pre-requisite
// execute this function on iad1 or hnd1, based on the connecting client location
regions: ['arn1', 'bom1', 'cdg1', 'cle1', 'cpt1', 'dub1', 'fra1', 'gru1', 'hnd1', 'iad1', 'icn1', 'kix1', 'lhr1', 'pdx1', 'sfo1', 'sin1', 'syd1'],
regions: ['iad1', 'pdx1', 'sfo1', 'cle1', 'lhr1', 'hnd1', 'syd1'],
}

const sitePassword = import.meta.env.SITE_PASSWORD || ''
Expand Down

1 comment on commit becd4ab

@vercel
Copy link

@vercel vercel bot commented on becd4ab Dec 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.