YunoHost-Apps / kanboard_ynh

Kanboard package for YunoHost
http://kanboard.net
GNU Affero General Public License v3.0
14 stars 16 forks source link

refused to apply inline style because it violates the following Content Security Policy directive #127

Closed Trickscenique closed 2 years ago

Trickscenique commented 2 years ago

In order to apply inline style modify this file /etc/nginx/conf.d/your.kanboard.domain/kanboard.conf

Change this line more_set_headers "Content-Security-Policy: default-src 'self' 'unsafe-eval' data:"; to

more_set_headers "Content-Security-Policy: default-src 'self' 'unsafe-eval' data:; style-src 'self' 'unsafe-inline'";

ericgaspar commented 2 years ago

Thanks for the fix! I hope this solves the issue.

Trickscenique commented 2 years ago

Perfect !