From 54dca3963a77919e5f1082ca498cfb2edf13a291 Mon Sep 17 00:00:00 2001 From: Daniel Schiavini Date: Fri, 17 Jan 2025 16:28:52 +0100 Subject: [PATCH] fix: vercel path --- packages/curve-ui-kit/src/shared/routes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/curve-ui-kit/src/shared/routes.ts b/packages/curve-ui-kit/src/shared/routes.ts index 53c9d3489..0ed74721a 100644 --- a/packages/curve-ui-kit/src/shared/routes.ts +++ b/packages/curve-ui-kit/src/shared/routes.ts @@ -86,7 +86,7 @@ export function getAppRoot(path: 'dex' | 'dao' | 'lend' | 'loan', developmentPor if (host.endsWith('vercel.app')) { const branchPrefix = /curve-dapp(-lend|-crvusd|-dao)?-(.*)-curvefi.vercel.app/.exec(host)?.[2] if (branchPrefix) { - return `https://curve-dapp-${branchPrefix}-curvefi.vercel.app` + return `https://curve-dapp-${branchPrefix}-curvefi.vercel.app/${path}` } return `https://${host}/${path}` }