mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-24 12:34:10 +03:00
parent
1466d44b57
commit
4578674e30
@ -76,9 +76,7 @@ const TokenForm = ({
|
|||||||
} else if (locationSetting === 'localhost') {
|
} else if (locationSetting === 'localhost') {
|
||||||
url = 'http://localhost:3000';
|
url = 'http://localhost:3000';
|
||||||
} else {
|
} else {
|
||||||
url = baseUrl?.endsWith('/')
|
url = baseUrl;
|
||||||
? baseUrl.substring(0, baseUrl.length - 1)
|
|
||||||
: baseUrl;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
setBaseUrl(url);
|
setBaseUrl(url);
|
||||||
|
Loading…
Reference in New Issue
Block a user