mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
remove http(s)// from server_name
This commit is contained in:
parent
fdcda95912
commit
2394118844
1 changed files with 2 additions and 2 deletions
4
src/ui/templates/setup.html
vendored
4
src/ui/templates/setup.html
vendored
|
|
@ -416,7 +416,7 @@
|
|||
updateResume() {
|
||||
this.resumeEl.textContent = `http${
|
||||
this.sslCheck.getAttribute("data-checked") === "true" ? "s" : ""
|
||||
}://${this.servInp.value}${this.urlInp.value}`;
|
||||
}://${this.servInp.value.replace('https://', '').replace('http://', '')}${this.urlInp.value}`;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -562,7 +562,7 @@
|
|||
|
||||
const api = `http${
|
||||
this.sslCheck.getAttribute("data-checked") === "true" ? "s" : ""
|
||||
}://${this.servInp.value}${this.urlInp.value}`;
|
||||
}://${this.servInp.value.replace('https://', '').replace('http://', '')}${this.urlInp.value}`;
|
||||
|
||||
fetch(window.location.href, {
|
||||
method: "POST",
|
||||
|
|
|
|||
Loading…
Reference in a new issue