You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by fa...@apache.org on 2024/04/15 21:22:37 UTC
(pekko-site) branch main updated: remove api.github.com support (#107)
This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-site.git
The following commit(s) were added to refs/heads/main by this push:
new d595bf8a remove api.github.com support (#107)
d595bf8a is described below
commit d595bf8ae9693229e7538c76dbc0ba681e365730
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Mon Apr 15 23:22:31 2024 +0200
remove api.github.com support (#107)
Update .htaccess
---
content/.htaccess | 4 ++--
src/main/public/.htaccess | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/content/.htaccess b/content/.htaccess
index 737e96f0..162488e4 100644
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -62,9 +62,9 @@ RewriteRule ^japi/([^/]+)/snapshot/(.*)$ https://nightlies.apache.org/pekko/docs
# Security Headers
Header set Strict-Transport-Security "max-age=31536000"
-# https://github.com/apache/pekko-sbt-paradox/issues/110 is open for https://api.github.com/
-Header set Content-Security-Policy "default-src 'self' https://api.github.com/ https://pekko.apache.org/ ; style-src 'self' https://pekko.apache.org/ 'unsafe-inline' ; script-src 'self' https://pekko.apache.org/ 'unsafe-inline' ; frame-src 'self' ;"
+Header set Content-Security-Policy "default-src 'self' https://pekko.apache.org/ ; style-src 'self' https://pekko.apache.org/ 'unsafe-inline' ; script-src 'self' https://pekko.apache.org/ 'unsafe-inline' ; frame-src 'self' ;"
Header always set X-Frame-Options SAMEORIGIN
Header set X-Content-Type-Options nosniff
Header set X-XSS-Protection "1; mode=block"
Header set Referrer-Policy: strict-origin
+
diff --git a/src/main/public/.htaccess b/src/main/public/.htaccess
index 737e96f0..162488e4 100644
--- a/src/main/public/.htaccess
+++ b/src/main/public/.htaccess
@@ -62,9 +62,9 @@ RewriteRule ^japi/([^/]+)/snapshot/(.*)$ https://nightlies.apache.org/pekko/docs
# Security Headers
Header set Strict-Transport-Security "max-age=31536000"
-# https://github.com/apache/pekko-sbt-paradox/issues/110 is open for https://api.github.com/
-Header set Content-Security-Policy "default-src 'self' https://api.github.com/ https://pekko.apache.org/ ; style-src 'self' https://pekko.apache.org/ 'unsafe-inline' ; script-src 'self' https://pekko.apache.org/ 'unsafe-inline' ; frame-src 'self' ;"
+Header set Content-Security-Policy "default-src 'self' https://pekko.apache.org/ ; style-src 'self' https://pekko.apache.org/ 'unsafe-inline' ; script-src 'self' https://pekko.apache.org/ 'unsafe-inline' ; frame-src 'self' ;"
Header always set X-Frame-Options SAMEORIGIN
Header set X-Content-Type-Options nosniff
Header set X-XSS-Protection "1; mode=block"
Header set Referrer-Policy: strict-origin
+
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org