Keep just localhost for now

This commit is contained in:
dan
2024-07-02 18:59:23 +01:00
committed by GitHub
parent 14d3ed81f5
commit 007dd8ffb7
+1 -1
View File
@@ -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