remote-codex 0.11.6 → 0.11.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1198,7 +1198,7 @@ function requireRelayUser(request, reply, store, options = {}) {
|
|
|
1198
1198
|
return session.user;
|
|
1199
1199
|
}
|
|
1200
1200
|
function readRelaySessionToken(request) {
|
|
1201
|
-
return bearerToken(request.headers.authorization) ?? queryToken(request.query, "relaySession") ?? readCookie(request.headers.cookie, RELAY_COOKIE_NAME);
|
|
1201
|
+
return bearerToken(request.headers.authorization) ?? queryToken(request.query, "relaySession") ?? queryToken(request.query, "token") ?? readCookie(request.headers.cookie, RELAY_COOKIE_NAME);
|
|
1202
1202
|
}
|
|
1203
1203
|
function attachRelayCookie(reply, token) {
|
|
1204
1204
|
reply.header(
|