fix(test): 修正测试页面中日志文件路径错误

将测试页面中的日志文件路径从相对路径改为绝对路径,确保能正确加载日志文件
This commit is contained in:
2025-12-05 17:17:21 +08:00
parent 016a5bf6b9
commit 678c79c5a7
+1 -1
View File
@@ -228,7 +228,7 @@
logContent.innerHTML = '加载中...'; logContent.innerHTML = '加载中...';
try { try {
const response = await fetch('wps_form_webhook.log'); const response = await fetch('/log/wps_form_webhook.log');
if (response.ok) { if (response.ok) {
const text = await response.text(); const text = await response.text();
logContent.innerHTML = text; logContent.innerHTML = text;