qinglong/back
Copilot dc0b3f2eb2
Fix QlBaseUrl: use URL rewrite for base path support (#2876)
* Initial plan

* Add QlBaseUrl support to backend routes

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Fix whitelist check to use base-URL-aware paths

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Update websocket and frontend to support base URL

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Address code review feedback: fix JWT regex and path construction

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Fix path construction: use req.path directly for whitelist check

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Add clarifying comments and improve code readability

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Apply code review suggestions: improve clarity and simplify logic

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Simplify baseUrl implementation using URL rewrite

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
2025-12-22 23:44:29 +08:00
..
api Fix validation error when saving scripts in debug window (v2.20.0 regression) (#2862) 2025-12-22 22:43:48 +08:00
config Fix QlBaseUrl: use URL rewrite for base path support (#2876) 2025-12-22 23:44:29 +08:00
data Add signature verification support for Feishu bot notifications (#2856) 2025-11-27 01:10:04 +08:00
interface 修改定时规则类型 2025-02-21 01:35:08 +08:00
loaders Fix QlBaseUrl: use URL rewrite for base path support (#2876) 2025-12-22 23:44:29 +08:00
middlewares 修改服务启动逻辑 2025-05-07 09:30:00 +08:00
protos Add missing larkSecret field to gRPC NotificationInfo proto (#2880) 2025-12-22 23:38:42 +08:00
schedule Add cron task management to QLAPI (#2826) 2025-11-14 23:20:56 +08:00
services Fix enum value 0 causing type filter to fail for NodeJS dependencies (#2869) 2025-12-15 18:21:14 +08:00
shared 修复任务实例默认值 2025-11-23 12:45:02 +08:00
types 修改服务启动逻辑 2025-05-07 09:30:00 +08:00
validation 修复任务实例默认值 2025-11-23 12:45:02 +08:00
app.ts 更新启动日志 2025-11-16 21:31:52 +08:00
token.ts 修改服务启动逻辑 2025-05-07 09:30:00 +08:00
tsconfig.json 修改服务启动逻辑 2025-05-07 09:30:00 +08:00