Willie
10444eef3f
feat(server): add basePath support for reverse-proxy sub-path hosting ( #85 )
...
Add normalizeBasePath + wrapBasePath to Server so the UI and API can be
served under a URL prefix (e.g. /app). StripPrefix wraps outside
withConfigAutoReload; bare-path requests redirect to path + "/".
Dev mode (no uiDistDir) prints a warning and skips wrapping.
Includes HTTP routing tests for prefix routing, 404 without prefix,
bare-path redirect, multi-level paths, and empty basePath passthrough.
2026-03-18 22:35:02 +08:00
..
2026-03-18 22:35:02 +08:00
2026-02-23 04:18:01 +08:00
2026-03-17 04:48:42 +08:00
2026-03-02 23:01:30 +08:00
2026-03-17 04:48:42 +08:00
2026-02-23 04:18:01 +08:00
2026-03-17 04:48:42 +08:00
2026-03-17 04:48:42 +08:00
2026-02-23 04:18:01 +08:00
2026-03-17 04:48:42 +08:00
2026-02-23 04:18:01 +08:00
2026-03-17 04:48:42 +08:00
2026-03-18 22:35:02 +08:00
2026-03-18 22:35:02 +08:00
2026-03-18 00:19:30 +08:00
2026-02-23 04:18:01 +08:00
2026-03-18 00:19:30 +08:00
2026-03-17 04:48:42 +08:00
2026-03-17 04:48:42 +08:00
2026-02-23 04:18:01 +08:00
2026-03-18 22:35:02 +08:00
2026-02-23 04:18:01 +08:00
2026-03-17 04:48:42 +08:00
2026-02-23 04:18:01 +08:00
2026-03-17 04:48:42 +08:00
2026-03-17 04:48:42 +08:00
2026-02-23 04:18:01 +08:00
2026-03-17 04:48:42 +08:00
2026-02-23 04:18:01 +08:00
2026-03-17 04:48:42 +08:00
2026-03-17 04:48:42 +08:00
2026-03-18 00:19:30 +08:00
2026-02-23 04:18:01 +08:00
2026-03-17 04:48:42 +08:00
2026-03-17 04:48:42 +08:00
2026-03-17 04:48:42 +08:00
2026-02-23 04:18:01 +08:00
2026-03-18 22:35:02 +08:00
2026-03-17 04:48:42 +08:00
2026-03-17 04:48:42 +08:00
2026-02-23 04:18:01 +08:00
2026-03-17 04:48:42 +08:00
2026-03-17 04:48:42 +08:00
2026-02-23 04:18:01 +08:00
2026-03-13 09:45:56 +08:00
2026-03-17 04:48:42 +08:00
2026-03-18 22:35:02 +08:00
2026-03-05 02:13:21 +08:00
2026-03-17 04:48:42 +08:00
2026-03-18 22:35:02 +08:00
2026-03-12 16:45:02 +08:00
2026-03-18 22:35:02 +08:00
2026-02-16 12:29:53 +08:00