Creating Content Security Policy in SvelteKit

In this post I want to explain what is Content Security Policy (CSP) and how to implement it in SvelteKit, and how to deal with policy violations.