Skip to content

Commit 76705e2

Browse files
author
prima
committed
fix: Small fix for reload not targetting the right page
1 parent b346429 commit 76705e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

klite.embd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25356,7 +25356,7 @@ else
2535625356

2535725357
let callbackAfterReload = (callback) => {
2535825358
let startTime = Date.now(), intervalId = setInterval(async () => {
25359-
if (await fetch("/api/admin/health").then(c => c.text()).catch(e => {/*Ignore error*/}) === "true") {
25359+
if (await fetch(custom_kobold_endpoint + "/api/admin/health").then(c => c.text()).catch(e => {/*Ignore error*/}) === "true") {
2536025360
clearInterval(intervalId);
2536125361
if (typeof callback === "function") {
2536225362
callback(Date.now() - startTime)

0 commit comments

Comments
 (0)