From 5e6d629243ed5e81bd7185e77bb4685c665c02f8 Mon Sep 17 00:00:00 2001 From: Ethan Yoo Date: Sun, 2 Jun 2024 17:48:16 -0400 Subject: [PATCH] Allow Cross-Origin Resource Sharing (CORS) for Plausible Analytics --- static/.htaccess | 1 + 1 file changed, 1 insertion(+) diff --git a/static/.htaccess b/static/.htaccess index 883626c..dcedc08 100644 --- a/static/.htaccess +++ b/static/.htaccess @@ -1,5 +1,6 @@ # Security tests: https://observatory.mozilla.org/ # Disable DNS prefetching: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-DNS-Prefetch-Control +Header always set Access-Control-Allow-Origin "analytics.ethanyoo.com" Header always set X-XSS-Protection "1; mode=block" Header always set X-Frame-Options "DENY" Header always set X-DNS-Prefetch-Control "off"