Skip to content

Renderer 自身 CSP(外壳卫生) #157

Closed

Description

@bubbleptr

PRD:.scratch/embedded-browser/PRD.md 决策 3 末行;ADR-0029「结果」段。父 issue #86。

要做的事

给 apps/desktop/index.html 加 CSP meta(default-src 'self',dev 模式放行 Vite HMR 的 ws 与 inline),确保现有 E2E 与 /design 页不受影响。

验收标准

  • 生产构建下 devtools 无 CSP 违规。
  • bun run test:e2e 全绿。

Activity

  1. added
    ready-for-agent
    on Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions