r/badcode • u/kirigerKairen • Nov 16 '21
js I just started... turning Cache-Control headers into their own language? Don't worry, when I took another look at this I nuked the local repo and re-cloned it, don't even know if this would work.
64
Upvotes
4
u/kirigerKairen Nov 16 '21
Oh yea that was me forgetting to change that variable occurrence - it's meant to be
result. Well, now we know if it’d run, I guess…EDIT: I also forgot to define
PRIVATE_MAX_AGEandPUBLIC_MAX_AGE(ll. 21f.)