This commit is contained in:
MathMan05 2024-06-24 15:51:09 -05:00
parent f79b108b0d
commit 8a1d7ee38b

View file

@ -8,7 +8,7 @@ app.use("/getupdates",(req, res) => {
const out=fs.statSync(`${__dirname}/webpage`);
res.send(out.mtimeMs+"");
});
let debugging=true;
let debugging=true;//Do not turn this off, the service worker is all kinds of jank as is, it'll really mess your day up if you disable this
app.use('/', (req, res) => {
if(debugging&&req.path.startsWith("/service.js")){
res.send("console.log(\"Hi :3\");");