mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-24 04:23:57 +03:00
parent
1466d44b57
commit
4578674e30
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user