From f5e1bc54e98daca5b697bed71482e64154432328 Mon Sep 17 00:00:00 2001 From: lx1056758714-glitch Date: Fri, 26 Dec 2025 14:40:40 +0800 Subject: [PATCH] fix: correctly display filename in db list by splitting on backslash --- internal/chatlog/http/static/index.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/chatlog/http/static/index.htm b/internal/chatlog/http/static/index.htm index 790108a..3fda26d 100644 --- a/internal/chatlog/http/static/index.htm +++ b/internal/chatlog/http/static/index.htm @@ -527,7 +527,7 @@ // Escape backslashes for JS string const escapedFile = file.replace(/\\/g, '\\\\'); html += `
- 📄 ${file.split(/[\/]/).pop()} + 📄 ${file.split(/[\\/]/).pop()} ${file}
`; });