mirror of
https://git.mirrors.martin98.com/https://github.com/open-webui/open-webui
synced 2025-08-19 18:29:06 +08:00
refac
This commit is contained in:
parent
4a79320253
commit
69dee19568
@ -85,6 +85,9 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// remove trailing slash from url
|
||||||
|
url = url.replace(/\/$/, '');
|
||||||
|
|
||||||
const connection = {
|
const connection = {
|
||||||
url,
|
url,
|
||||||
key,
|
key,
|
||||||
|
@ -33,6 +33,9 @@
|
|||||||
const submitHandler = async () => {
|
const submitHandler = async () => {
|
||||||
loading = true;
|
loading = true;
|
||||||
|
|
||||||
|
// remove trailing slash from url
|
||||||
|
url = url.replace(/\/$/, '');
|
||||||
|
|
||||||
const connection = {
|
const connection = {
|
||||||
url,
|
url,
|
||||||
key,
|
key,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user