logto-io / logto

🧑‍🚀 The better identity infrastructure for developers and the open-source alternative to Auth0.
https://logto.io
Mozilla Public License 2.0
8.36k stars 409 forks source link

refactor(core): allow cloudflare insights origin in csp #6375

Closed gao-sun closed 1 month ago

gao-sun commented 1 month ago

Summary

allow cloudflare to inject and load scripts in experience. we will add custom csp soon.

Testing

need to test in an online environment.

Checklist

github-actions[bot] commented 1 month ago

COMPARE TO master

Total Size Diff :chart_with_upwards_trend: +183 Bytes

Diff by File |Name|Diff| |---|---| |packages/core/src/middleware/koa-security-headers.ts|:chart_with_upwards_trend: +183 Bytes|