Skip to content

Commit

Permalink
fix(website): enable // in token form URL input (#7923)
Browse files Browse the repository at this point in the history
Fixes: #7861
  • Loading branch information
unrenamed authored Oct 21, 2024
1 parent 1466d44 commit 4578674
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4578674

Please sign in to comment.