diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index bb5c05af7fdfe31ae0cbfb71883db6ed88058a5d..a3b76d5a24dd80e06a3a45b7bc6143e37cff06d2 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -19,7 +19,7 @@ services: SDC_IMAGE_PROXY_PREFIX: https://images.hive.blog/ SDC_UPLOAD_IMAGE_URL: https://images.hive.blog - SDC_HELMET_CONNECTSRC: "'self' http://hiveblog.local https://api.hive.blog https://images.hive.blog https://www.reddit.com *.ibytedtos.com https://pl.ecency.com" + SDC_HELMET_CONNECTSRC: "'self' http://hiveblog.local https://api.hive.blog https://images.hive.blog https://www.reddit.com *.ibytedtos.com" SDC_HELMET_STYLESRC: "'self' 'unsafe-inline' fonts.googleapis.com platform.twitter.com www.reddit.com cdn.embedly.com *.tiktokcdn.com" SDC_HELMET_FONTSRC: "data: fonts.gstatic.com cdn.embedly.com" volumes: diff --git a/docker-compose.localbuild.yml b/docker-compose.localbuild.yml index 98fd63f981571a45704e7af419bb10ef33e1720c..e3f8c9809a39e750c46f8dadeb663386d9ba3276 100644 --- a/docker-compose.localbuild.yml +++ b/docker-compose.localbuild.yml @@ -11,7 +11,7 @@ services: SDC_SITE_DOMAIN: hive.blog SDC_IMAGE_PROXY_PREFIX: https://images.hive.blog/ SDC_UPLOAD_IMAGE_URL: https://images.hive.blog - SDC_HELMET_CONNECTSRC: "'self' hive.blog https://hive.blog https://api.hive.blog https://anyx.io api.blocktrades.us https://images.hive.blog https://hivebuzz.me https://peakd.com https://www.reddit.com *.ibytedtos.com https://pl.ecency.com" + SDC_HELMET_CONNECTSRC: "'self' hive.blog https://hive.blog https://api.hive.blog https://anyx.io api.blocktrades.us https://images.hive.blog https://hivebuzz.me https://peakd.com https://www.reddit.com *.ibytedtos.com" SDC_HELMET_STYLESRC: "'self' 'unsafe-inline' fonts.googleapis.com platform.twitter.com www.reddit.com cdn.embedly.com *.tiktokcdn.com" SDC_HELMET_FONTSRC: "data: fonts.gstatic.com cdn.embedly.com" WALLET_URL: https://wallet.hive.blog diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index ee6f31ccdb63ba49b4b324ac7d0fe134697c2ece..d224f44a27734dbd6834252c405bd43aab8120f3 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -30,7 +30,7 @@ services: SDC_IMAGE_PROXY_PREFIX: https://images.hive.blog/ SDC_UPLOAD_IMAGE_URL: https://images.hive.blog SDC_ALT_API_ENDPOINTS: "https://api.hive.blog https://anyx.io https://api.openhive.network https://api.hivekings.com" - SDC_HELMET_CONNECTSRC: "'self' hive.blog https://hive.blog https://images.hive.blog https://api.hive.blog https://anyx.io https://api.openhive.network https://api.hivekings.com https://hivebuzz.me https://peakd.com https://www.reddit.com *.ibytedtos.com https://pl.ecency.com" + SDC_HELMET_CONNECTSRC: "'self' hive.blog https://hive.blog https://images.hive.blog https://api.hive.blog https://anyx.io https://api.openhive.network https://api.hivekings.com https://hivebuzz.me https://peakd.com https://www.reddit.com *.ibytedtos.com" SDC_HELMET_STYLESRC: "'self' 'unsafe-inline' fonts.googleapis.com platform.twitter.com www.reddit.com cdn.embedly.com *.tiktokcdn.com" SDC_HELMET_FONTSRC: "data: fonts.gstatic.com cdn.embedly.com" WALLET_URL: https://wallet.hive.blog diff --git a/docker-compose.staging.yml b/docker-compose.staging.yml index 3d0a8424eacc34aaf5bb7eb3cb56f5f80d898a47..e73f0c6d6f19c8451173a982a740a53faac8e9ce 100644 --- a/docker-compose.staging.yml +++ b/docker-compose.staging.yml @@ -13,7 +13,7 @@ services: SDC_SITE_DOMAIN: staging-blog.hive.io SDC_IMAGE_PROXY_PREFIX: https://images.hive.blog/ SDC_UPLOAD_IMAGE_URL: https://images.hive.blog - SDC_HELMET_CONNECTSRC: "'self' https://api.hive.blog https://staging.hive.blog https://images.hive.blog https://anyx.io https://api.openhive.network https://api.hivekings.com https://hivebuzz.me https://peakd.com https://www.reddit.com *.ibytedtos.com https://pl.ecency.com" + SDC_HELMET_CONNECTSRC: "'self' https://api.hive.blog https://staging.hive.blog https://images.hive.blog https://anyx.io https://api.openhive.network https://api.hivekings.com https://hivebuzz.me https://peakd.com https://www.reddit.com *.ibytedtos.com" SDC_HELMET_STYLESRC: "'self' 'unsafe-inline' fonts.googleapis.com platform.twitter.com www.reddit.com cdn.embedly.com *.tiktokcdn.com" SDC_HELMET_FONTSRC: "data: fonts.gstatic.com cdn.embedly.com" WALLET_URL: https://wallet.hive.blog diff --git a/src/server/server-html.jsx b/src/server/server-html.jsx index 8de21609d816d1f69f0acdc6322c386591464a5b..01517cbdce96a1a27faf5e2d7389902d109c4444 100644 --- a/src/server/server-html.jsx +++ b/src/server/server-html.jsx @@ -100,22 +100,6 @@ export default function ServerHTML({ {assets.style.map((href) => ( ))} -