Skip to content

Commit 7ab5c31

Browse files
committed
fix doc
1 parent 88427d9 commit 7ab5c31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/pwa-kit-runtime/src/ssr/server/build-remote-server.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ function getRefreshTokenCookieTTL(refreshTokenExpiresInSLASValue, isGuest, optio
122122
}
123123

124124
/**
125-
* When HttpOnly session cookies are enabled: set tokens as HttpOnly cookies, TTLs as non-HttpOnly,
126-
* strip token fields from body, and remove upstream Set-Cookie so we control all cookies.
125+
* When HttpOnly session cookies are enabled: set tokens as HttpOnly cookies,
126+
* strip token fields from body, and append our Set-Cookie headers (preserving upstream cookies).
127127
* @private
128128
*/
129129
function applyHttpOnlySessionCookies(responseBuffer, proxyRes, req, res, options) {

0 commit comments

Comments
 (0)