Skip to content

Commit dcc4d11

Browse files
committed
Update code comments
1 parent 3f8c7f5 commit dcc4d11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/tidewave/middleware.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ def call(env)
7272

7373
status, headers, body = @app.call(env)
7474

75-
# Remove CSP and X-Frame-Options headers for non-Tidewave routes
76-
# to allow embedding the app in Tidewave
75+
# Remove X-Frame-Options headers for non-Tidewave routes to allow embedding.
76+
# CSP headers are configured in the CSP application environment.
7777
headers.delete("X-Frame-Options")
7878

7979
[ status, headers, body ]

0 commit comments

Comments
 (0)