Skip to content

Commit

Permalink
Update Vercel Regions
Browse files Browse the repository at this point in the history
  • Loading branch information
johnd0e committed Nov 23, 2024
1 parent de60661 commit 8ca15de
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
13 changes: 7 additions & 6 deletions api/handler.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@ export default worker.fetch;
export const config = {
runtime: "edge",
// Available languages and regions for Google AI Studio and Gemini API
// https://ai.google.dev/available_regions#available_regions
// https://vercel.com/docs/concepts/edge-network/regions
// https://ai.google.dev/gemini-api/docs/available-regions#available_regions
// Vercel Edge Network Regions
// https://vercel.com/docs/edge-network/regions#region-list
regions: [
//"arn1",
"arn1",
"bom1",
//"cdg1",
"cdg1",
"cle1",
"cpt1",
//"dub1",
//"fra1",
"dub1",
"fra1",
"gru1",
//"hkg1",
"hnd1",
Expand Down
4 changes: 2 additions & 2 deletions readme.MD
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ It can be easily deployed to various providers for free
You will need a personal Google [API key](https://makersuite.google.com/app/apikey).

> [!IMPORTANT]
> Even if you are located outside of the [supported regions](https://ai.google.dev/available_regions#available_regions)
> (e.g., in Europe), it is still possible to acquire one using a VPN.
> Even if you are located outside of the [supported regions](https://ai.google.dev/gemini-api/docs/available-regions#available_regions),
> it is still possible to acquire one using a VPN.
Deploy the project to one of the providers, using the instructions below.
You will need to set up an account there.
Expand Down

0 comments on commit 8ca15de

Please sign in to comment.