Skip to content

The open alternative to Salesforce, designed for AI.

fix(website): enable // in token form URL input (#7923)

Nazar Poshtarenko4578674e3066
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 1a0051c62ed..d1c980ed87b 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);