wip fix
This commit is contained in:
parent
6ea7c5ae0b
commit
67f11cbbb0
|
|
@ -163,7 +163,12 @@ export const EdApiServer = forwardRef<
|
|||
value={local.api_url}
|
||||
onChange={(e) => {
|
||||
local.api_url = e.currentTarget.value;
|
||||
local.api_url = trim(local.api_url, "/");
|
||||
if (
|
||||
local.api_url.startsWith("http://") ||
|
||||
local.api_url.startsWith("https://")
|
||||
) {
|
||||
local.api_url = trim(local.api_url, "/");
|
||||
}
|
||||
local.render();
|
||||
}}
|
||||
onFocus={(e) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue