Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 806 Bytes

README.md

File metadata and controls

44 lines (30 loc) · 806 Bytes

patkub-site

Getting Started

Node LTS 22.11.0

Install dependencies

npm install

Build site into dist/ folder

npm run build

In dist/ folder run npx http-server and open link in browser.

Dependencies

Update dependencies to latest

npx npm-check-updates -u

CSP

Cloudflare Content-Security-Policy header

  • Rules > Transform Rules > Modify Response Header
  • Create Rule Rule name: CSP
    All incoming requests
    Then... Add

Header name: Content-Security-Policy

Value:

default-src 'self'; connect-src 'self' https://cloudflareinsights.com; script-src 'self' static.cloudflareinsights.com; style-src 'self' 'unsafe-inline' fonts.googleapis.com; font-src 'self' 'unsafe-inline' fonts.gstatic.com; img-src 'self' data:;

Place at, Select order: First