We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 838e4a5 commit 9aea2ddCopy full SHA for 9aea2dd
server.js
@@ -57,8 +57,7 @@ app.register(fastifyStatic,{
57
if (process.env.MASQR==="true")
58
app.addHook("onRequest",MasqrMiddleware);
59
60
-// --- streaming proxy ---
61
-const proxy=(url,type="application/javascript")=>async(req,reply)=>{
+const proxy= (url, type="application/javascript")=>async(req,reply)=>{
62
try {
63
const res=await fetch(url(req));
64
if(!res.ok) return reply.code(res.status).send();
0 commit comments