Skip to content

Commit

Permalink
Allow insecure CSRF cookies
Browse files Browse the repository at this point in the history
This forward-ports #408 to the cli-rewrite branch.
  • Loading branch information
josh-berry committed Apr 1, 2024
1 parent 03cdfde commit 0299755
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions temporalcli/devserver/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ func (s *StartOptions) buildUIServer() *uiserver.Server {
EnableUI: true,
UIAssetPath: s.UIAssetPath,
Codec: uiconfig.Codec{Endpoint: s.UICodecEndpoint},
CORS: uiconfig.CORS{CookieInsecure: true},
HideLogs: true,
}))
}
Expand Down

0 comments on commit 0299755

Please sign in to comment.