I wrote a server on node + express. Prepared the page for rendering, wrote scripts in JS using Jquery. But Jquery can't load the page for some reason. This is a constant case, before I wrote the ToDo application on WebSockets and I had the same error. What is the problem and how to solve it? Help please. Error: Refused to load the script 'https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js' because it violates the following Content Security Policy directive: "script-src 'self'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
I tried adding different meta tags from other sources, but it didn't help.