Skip to content

Commit

Permalink
fix: proxy domain fal.run check
Browse files Browse the repository at this point in the history
  • Loading branch information
drochetti committed Jan 16, 2024
1 parent 6cb27c0 commit 6671386
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/proxy/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fal-ai/serverless-proxy",
"version": "0.7.1",
"version": "0.7.2",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion libs/proxy/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const FAL_KEY_SECRET =

export type HeaderValue = string | string[] | undefined | null;

const FAL_URL_REG_EXP = /(\.fal\.(run|ai))$/;
const FAL_URL_REG_EXP = /(\.|^)fal\.(run|ai)$/;

/**
* The proxy behavior that is passed to the proxy handler. This is a subset of
Expand Down

0 comments on commit 6671386

Please sign in to comment.