File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 1616 "dev:debug" : " DEBUG=1 node server.js" ,
1717 "prepack" : " RELEASE=1 npm run rewriter:build && npm run build" ,
1818 "pub" : " npm publish --no-git-checks --access public" ,
19- "format" : " prettier --config .prettierrc.js -- write ." ,
19+ "format" : " prettier --write ." ,
2020 "lint" : " eslint ./src/" ,
2121 "lint:fix" : " eslint ./src/ --fix" ,
2222 "test" : " npx playwright test"
Original file line number Diff line number Diff line change @@ -141,10 +141,7 @@ export async function handleFetch(
141141 // console.log(headers);
142142 } else {
143143 headers . set ( "Referer" , clientURL . toString ( ) ) ;
144- headers . set (
145- "Origin" ,
146- clientURL . origin ? `${ clientURL . protocol } //${ clientURL . host } ` : "null"
147- ) ;
144+ headers . set ( "Origin" , clientURL . origin ) ;
148145 }
149146 }
150147
You can’t perform that action at this time.
0 commit comments