feat: rebuild CSP practice workflow, UX and automation

这个提交包含在:
Codex CLI
2026-02-13 15:49:05 +08:00
父节点 d33deed4c5
当前提交 e2ab522b78
修改 105 个文件,包含 15669 行新增428 行删除

查看文件

@@ -6,8 +6,11 @@ const nextConfig: NextConfig = {
async rewrites() {
// Reverse proxy backend under a path prefix, so browser can access backend
// with same-origin (no CORS): http://<host>:7888/admin139/...
const backendInternal = process.env.BACKEND_INTERNAL_URL;
if (!backendInternal) return [];
const backendInternal =
process.env.BACKEND_INTERNAL_URL ??
(process.env.NODE_ENV === "development"
? "http://127.0.0.1:8080"
: "http://backend:8080");
return [
{