docs

Security

When building a full stack application, by default, following the Content Security Policy directives, you cannot use in-line javascript or display images from unregistered urls, so within app/config/security.ts you can change the directives you want to, for example, allow the creation and use of within the view. If you don’t change anything, the images and assets used in the views must be in some static assets folder.

Read more about the Content Security Policy in https://developer.mozilla.org/pt-BR/docs/Web/HTTP/Headers/Content-Security-Policy

Summary