Keep just localhost for now
This commit is contained in:
@@ -111,7 +111,7 @@ func serve(cctx *cli.Context) error {
|
|||||||
e.Use(middleware.SecureWithConfig(middleware.SecureConfig{
|
e.Use(middleware.SecureWithConfig(middleware.SecureConfig{
|
||||||
ContentTypeNosniff: "nosniff",
|
ContentTypeNosniff: "nosniff",
|
||||||
XFrameOptions: "SAMEORIGIN",
|
XFrameOptions: "SAMEORIGIN",
|
||||||
ContentSecurityPolicy: "frame-ancestors 'self' http://localhost:19006 https://*.bsky.dev",
|
ContentSecurityPolicy: "frame-ancestors 'self' http://localhost:19006",
|
||||||
HSTSMaxAge: 31536000, // 365 days
|
HSTSMaxAge: 31536000, // 365 days
|
||||||
// TODO:
|
// TODO:
|
||||||
// XSSProtection
|
// XSSProtection
|
||||||
|
|||||||
Reference in New Issue
Block a user