Skip to content

nibtime/demo-next-safe-middleware

Repository files navigation



Easy Strict Content-Security-Policy for Next.js hybrid apps.

With stable root-level middleware of Next 12.2

https://demo-next-safe-middleware.vercel.app

Deploy with Vercel


Open in Gitpod


A little demo project to showcase the usage and the hybrid strict-dynamic CSP support of the @next-safe/middleware package.

Strict-dynamic CSPs can't be evaluated with Next.js development builds. Serve a local production build with yarn build && yarn start to see the strict CSP in action.

Or deploy to Vercel to see how it behaves in their edge network.

Releases

No releases published

Packages

No packages published