Index: templates/manifest.json.tmpl |
diff --git a/templates/manifest.json.tmpl b/templates/manifest.json.tmpl |
index 8df2148f5aa16931bab9c48b8197f243855f3f0f..e69f5ce197b989f3ebddeee8a082b5d4b7cdceee 100644 |
--- a/templates/manifest.json.tmpl |
+++ b/templates/manifest.json.tmpl |
@@ -117,5 +117,9 @@ |
}, |
{%- endif %} |
+ {%- if metadata.has_option('general', 'contentSecurityPolicy') %} |
+ "content_security_policy": {{metadata.get('general', 'contentSecurityPolicy')|json}}, |
+ {%- endif %} |
+ |
"_dummy": false |
} |