mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 12:55:19 +00:00
refac
This commit is contained in:
parent
4a79320253
commit
69dee19568
2 changed files with 6 additions and 0 deletions
|
|
@ -85,6 +85,9 @@
|
|||
return;
|
||||
}
|
||||
|
||||
// remove trailing slash from url
|
||||
url = url.replace(/\/$/, '');
|
||||
|
||||
const connection = {
|
||||
url,
|
||||
key,
|
||||
|
|
|
|||
|
|
@ -33,6 +33,9 @@
|
|||
const submitHandler = async () => {
|
||||
loading = true;
|
||||
|
||||
// remove trailing slash from url
|
||||
url = url.replace(/\/$/, '');
|
||||
|
||||
const connection = {
|
||||
url,
|
||||
key,
|
||||
|
|
|
|||
Loading…
Reference in a new issue