Skip to content

Commit

Permalink
fix: domain check on proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
drochetti committed Jan 16, 2024
1 parent 2e4015b commit 07b0fed
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.0",
"version": "0.7.1",
"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 07b0fed

Please sign in to comment.