get-wrecked / cspproxy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CSP Proxy

A simple Cloudflare Worker to replace CSP headers sent by the upstream.

Needs to be configured with a environment variable REPLACEMENTS that defines the replacements to be made:

REPLACEMENTS='{"*.example.com": "worker.domain.com"}'

About

License:Other


Languages

Language:JavaScript 100.0%