mirror of
https://git.mirrors.martin98.com/https://github.com/open-webui/open-webui
synced 2025-08-19 00:35:58 +08:00
refac
This commit is contained in:
parent
4a79320253
commit
69dee19568
@ -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…
x
Reference in New Issue
Block a user