fix(test): 修正测试页面中日志文件路径错误
将测试页面中的日志文件路径从相对路径改为绝对路径,确保能正确加载日志文件
This commit is contained in:
@@ -228,7 +228,7 @@
|
||||
logContent.innerHTML = '加载中...';
|
||||
|
||||
try {
|
||||
const response = await fetch('wps_form_webhook.log');
|
||||
const response = await fetch('/log/wps_form_webhook.log');
|
||||
if (response.ok) {
|
||||
const text = await response.text();
|
||||
logContent.innerHTML = text;
|
||||
|
||||
Reference in New Issue
Block a user