fix equal signs

pull/12127/head
Wenli Looi 2025-04-17 13:02:04 -07:00 committed by GitHub
parent 7c09379cb7
commit 7a622986c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ if (typeof window === 'undefined') {
newHeaders.set('Cross-Origin-Resource-Policy', 'cross-origin');
}
newHeaders.set('Cross-Origin-Opener-Policy', 'same-origin');
const body = (response.status == 101 || response.status == 204 || response.status == 205 || response.status == 304) ? null : response.body;
const body = (response.status === 101 || response.status === 204 || response.status === 205 || response.status === 304) ? null : response.body;
response = new Response(body, {
status: response.status,