We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b346429 commit 76705e2Copy full SHA for 76705e2
klite.embd
@@ -25356,7 +25356,7 @@ else
25356
25357
let callbackAfterReload = (callback) => {
25358
let startTime = Date.now(), intervalId = setInterval(async () => {
25359
- if (await fetch("/api/admin/health").then(c => c.text()).catch(e => {/*Ignore error*/}) === "true") {
+ if (await fetch(custom_kobold_endpoint + "/api/admin/health").then(c => c.text()).catch(e => {/*Ignore error*/}) === "true") {
25360
clearInterval(intervalId);
25361
if (typeof callback === "function") {
25362
callback(Date.now() - startTime)
0 commit comments