Enable Cloudflare Rocket loader

This commit is contained in:
Konrad Borowski 2019-03-04 13:53:38 +01:00
parent 39ad6c8d5d
commit 944c15ba4c

View File

@ -199,7 +199,7 @@ fn main() -> io::Result<()> {
CONTENT_SECURITY_POLICY,
concat!(
"default-src 'none'; ",
"script-src 'self'; ",
"script-src 'self' ajax.cloudflare.com; ",
"style-src 'self'; ",
"img-src 'self'; ",
"object-src 'none'; ",