From 149a5231f01c8591a28e4313d2a61fa0fb3bfb46 Mon Sep 17 00:00:00 2001 From: Stephen Zhou <38493346+hyoban@users.noreply.github.com> Date: Fri, 6 Feb 2026 18:38:19 +0800 Subject: [PATCH] update --- web/env.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/env.ts b/web/env.ts index 2a09cd8c8b..06c51004d0 100644 --- a/web/env.ts +++ b/web/env.ts @@ -81,11 +81,11 @@ const clientSchema = { /** * The API PREFIX for MARKETPLACE */ - NEXT_PUBLIC_MARKETPLACE_API_PREFIX: z.string().regex(/^(https?:\/\/|\/).*/).optional(), + NEXT_PUBLIC_MARKETPLACE_API_PREFIX: z.httpUrl().optional(), /** * The URL for MARKETPLACE */ - NEXT_PUBLIC_MARKETPLACE_URL_PREFIX: z.string().url().optional(), + NEXT_PUBLIC_MARKETPLACE_URL_PREFIX: z.httpUrl().optional(), /** * The maximum number of iterations for agent setting */