From 4578674e30663e93c63a4b5add64eaf13576951c Mon Sep 17 00:00:00 2001 From: Nazar Poshtarenko <32395926+unrenamed@users.noreply.github.com> Date: Mon, 21 Oct 2024 19:24:24 +0300 Subject: [PATCH] fix(website): enable // in token form URL input (#7923) Fixes: #7861 --- .../src/app/_components/playground/token-form.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/twenty-website/src/app/_components/playground/token-form.tsx b/packages/twenty-website/src/app/_components/playground/token-form.tsx index 1a0051c62e..d1c980ed87 100644 --- a/packages/twenty-website/src/app/_components/playground/token-form.tsx +++ b/packages/twenty-website/src/app/_components/playground/token-form.tsx @@ -76,9 +76,7 @@ const TokenForm = ({ } else if (locationSetting === 'localhost') { url = 'http://localhost:3000'; } else { - url = baseUrl?.endsWith('/') - ? baseUrl.substring(0, baseUrl.length - 1) - : baseUrl; + url = baseUrl; } setBaseUrl(url);