Blog
Tagged with: csp
Stop Turbolinks from adding multiple script tags with nonce
If you’re using a Content Security Policy (CSP) in your Rails app you probably already know how finicky things can get. One common annoyance you may run into is an issue where a script tag is added to the <head>
over and over again with each page request. It’s no bueno, but there’s a way around it.
Let’s assume the fo...
Blog Categories
About These Posts
My blog primarily contains writings about my work on computers, but I occasionally mix in fun life stuff. I am, at best, a mediocre writer, but I like doing my part to give back to the community. Feel free to contact me if you have specific something to chat about. See you around!