From 007dd8ffb7ade0507b3c8fc3ddc498858590d90d Mon Sep 17 00:00:00 2001 From: dan Date: Tue, 2 Jul 2024 18:59:23 +0100 Subject: [PATCH] Keep just localhost for now --- bskyweb/cmd/bskyweb/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bskyweb/cmd/bskyweb/server.go b/bskyweb/cmd/bskyweb/server.go index 35481e245f..a9b7deadae 100644 --- a/bskyweb/cmd/bskyweb/server.go +++ b/bskyweb/cmd/bskyweb/server.go @@ -111,7 +111,7 @@ func serve(cctx *cli.Context) error { e.Use(middleware.SecureWithConfig(middleware.SecureConfig{ ContentTypeNosniff: "nosniff", XFrameOptions: "SAMEORIGIN", - ContentSecurityPolicy: "frame-ancestors 'self' http://localhost:19006 https://*.bsky.dev", + ContentSecurityPolicy: "frame-ancestors 'self' http://localhost:19006", HSTSMaxAge: 31536000, // 365 days // TODO: // XSSProtection