don't x-frame-options for embed.bsky.app
This commit is contained in:
committed by
Dan Abramov
parent
b585091108
commit
596e3dd2db
@@ -96,7 +96,7 @@ func serve(cctx *cli.Context) error {
|
||||
// SECURITY: Do not modify without due consideration.
|
||||
e.Use(middleware.SecureWithConfig(middleware.SecureConfig{
|
||||
ContentTypeNosniff: "nosniff",
|
||||
XFrameOptions: "SAMEORIGIN",
|
||||
// diable XFrameOptions; we're embedding here!
|
||||
HSTSMaxAge: 31536000, // 365 days
|
||||
// TODO:
|
||||
// ContentSecurityPolicy
|
||||
|
||||
Reference in New Issue
Block a user