fix: proxy domain fal.run check
This commit is contained in:
parent
6cb27c0ca5
commit
6671386b15
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@fal-ai/serverless-proxy",
|
"name": "@fal-ai/serverless-proxy",
|
||||||
"version": "0.7.1",
|
"version": "0.7.2",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
@ -9,7 +9,7 @@ const FAL_KEY_SECRET =
|
|||||||
|
|
||||||
export type HeaderValue = string | string[] | undefined | null;
|
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
|
* The proxy behavior that is passed to the proxy handler. This is a subset of
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user