Skip to content

Commit 9aea2dd

Browse files
authored
Update server.js
1 parent 838e4a5 commit 9aea2dd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

server.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ app.register(fastifyStatic,{
5757
if (process.env.MASQR==="true")
5858
app.addHook("onRequest",MasqrMiddleware);
5959

60-
// --- streaming proxy ---
61-
const proxy=(url,type="application/javascript")=>async(req,reply)=>{
60+
const proxy= (url, type="application/javascript")=>async(req,reply)=>{
6261
try {
6362
const res=await fetch(url(req));
6463
if(!res.ok) return reply.code(res.status).send();

0 commit comments

Comments
 (0)