Commit Graph
24 Commits
Author SHA1 Message Date
tsosunchia 2240f7959d fix: handle LeoMoe override correctly
- re-evaluate LeoMoe websocket flag after NEXTTRACE_DATAPROVIDER override in server trace handler
  - mirror the same check in CLI init so the websocket is only opened when the final provider is still
    LEOMOEAPI

Signed-off-by: tsosunchia <59512455+tsosunchia@users.noreply.github.com>
2025-10-29 22:38:28 +08:00
tsosunchia 6c12de9842 Ensure Leo data provider always initialises websocket 2025-10-29 22:16:12 +08:00
tsosunchia 95d18fcec2 Remove obsolete case for IP2REGION in trace_handler.go
移除已弃用的 Ip2region 数据源处理
2025-10-29 14:50:18 +08:00
tsosunchia b76c6034a1 Refactor WebSocket connection state management with mutex for thread safety 2025-10-29 14:24:17 +08:00
tsosunchia 81373fb3a4 Refactor trace_handler.go to improve variable naming for clarity 2025-10-29 12:48:35 +08:00
tsosunchia 0f09cddde0 Merge pull request #127 from nxtrace/alert-autofix-49
Potential fix for code scanning alert no. 49: Client-side cross-site scripting
2025-10-29 12:44:23 +08:00
tsosunchia fee8812bdc Refactor app.js to normalize error keys and prevent prototype pollution 2025-10-29 12:41:36 +08:00
tsosunchiaandCopilot d1c6be66aa Update server/web/assets/app.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-29 12:38:47 +08:00
tsosunchiaandCopilot Autofix powered by AI b2a70ac384 Potential fix for code scanning alert no. 49: Client-side cross-site scripting
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-10-29 12:30:19 +08:00
tsosunchia 3715f3b183 Refactor trace_handler.go to improve target parsing and error handling 2025-10-29 11:20:18 +08:00
tsosunchia fc1c580ad7 Refactor ws_handler.go to improve session handling and snapshot logic 2025-10-29 11:16:42 +08:00
tsosunchia 04af30d940 Update default destination port for UDP protocol in app.js (33494) 2025-10-29 10:53:29 +08:00
tsosunchia 088a64581f Fix typos in README and update data provider list in handlers 2025-10-29 10:49:10 +08:00
tsosunchiaandCopilot c77a025b83 Update server/web/assets/style.css
The .hidden class is defined twice (lines 368-370 and 511-513). Remove the duplicate definition to avoid confusion and potential CSS specificity issues.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-29 10:25:06 +08:00
tsosunchia 6496971736 修改了一些样式 2025-10-20 22:56:10 +08:00
tsosunchia 4b06ab59f4 修正了一些显示BUG 2025-10-20 22:17:57 +08:00
tsosunchia 23c45b7bbd 修改一些样式 2025-10-20 21:17:37 +08:00
tsosunchia d46731fb49 mtr 模式 2025-10-20 20:48:18 +08:00
tsosunchia d8ee027664 修改支持的最大探测次数 2025-10-20 19:04:22 +08:00
tsosunchia 2cba293651 前端增加支持设置psize和dstport 2025-10-20 18:55:15 +08:00
tsosunchia 2d73fe62fc 修改前端 2025-10-20 18:42:25 +08:00
tsosunchia 73636ee190 增加英文支持 2025-10-20 18:09:39 +08:00
tsosunchia 46dd4a11f1 流式传输 2025-10-20 17:16:08 +08:00
tsosunchia 762579e8be 增加depoly模式 2025-10-20 16:25:48 +08:00