This is an automated email from the ASF dual-hosted git repository.

joshtynjala pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-docs.git

commit d3919e05ffc7731a19890d9f7e8615edbca9bb40
Author: Josh Tynjala <[email protected]>
AuthorDate: Thu Mar 20 13:04:09 2025 -0700

    use same Content-Security-Policy as main site
---
 _layouts/docpage.html | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/_layouts/docpage.html b/_layouts/docpage.html
index 69b447b..d0f4a9e 100644
--- a/_layouts/docpage.html
+++ b/_layouts/docpage.html
@@ -17,6 +17,11 @@ limitations under the License.
 {% endcomment %}
 <html xmlns="http://www.w3.org/1999/xhtml";>
 <head>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+  <meta http-equiv="Content-Security-Policy" content="default-src 'self' data: 
blob: 'unsafe-inline' https://www.apachecon.com/ 
https://www.communityovercode.org/ https://analytics.apache.org/; script-src 
'self' 'unsafe-inline' 'unsafe-eval' https://analytics.apache.org/ 
https://www.apachecon.com/; style-src 'self' 'unsafe-inline' data:; 
frame-ancestors 'self'; frame-src 'self' data: blob:; img-src 'self' data: 
https://*.apache.org/ https://www.apachecon.com/; worker-src 'self' data: 
blob:;">
+  <meta http-equiv="CACHE-CONTROL" content="NO-CACHE">
+  <meta name="viewport" content="width=device-width, initial-scale=1, 
maximum-scale=1, user-scalable=no" />
+  <meta http-equiv="X-UA-Compatible" content="ie=edge" />
   <script>
     window.dataLayer = window.dataLayer || [];
     function gtag(){dataLayer.push(arguments);}
@@ -29,10 +34,6 @@ limitations under the License.
   <script 
src="https://cdnjs.cloudflare.com/ajax/libs/bodymovin/4.5.9/bodymovin.min.js";></script>
   <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/styles.css" />
   <link rel="shortcut icon" href="favicon.ico"/>
-  <meta http-equiv="CACHE-CONTROL" content="NO-CACHE">
-  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-  <meta name="viewport" content="width=device-width, initial-scale=1, 
maximum-scale=1, user-scalable=no" />
-  <meta http-equiv="X-UA-Compatible" content="ie=edge" />
 
   {% include open-graph.html %}
 

Reply via email to