Closed FizzBuzz791 closed 2 years ago
This is a follow-up to #19
Nice, if accepted should me merged fast so we can all update our PR to match that new code :)
Hey @FizzBuzz791, I love this! Presently not compiling though as "Beelzebub.getChecks is not a function". If you could take a look at that then I'd love to take the PR and roll it into main.
One remaining conflict since I took another PR 🙂 Sort that then I'll merge.
Oops! I think it's good now @troyhunt
Uh, I took that too hastily:
"Beelzebub.getValidChecks is not a function"
Just running out for lunch, if you have Wrangler you should see the problem and can push a fix, otherwise I'll sort it later.
Sorry, I'm not great with pure-JS. I think I'm missing the static
prefix in each of the functions (checks, getValidChecks and infuriate).
I tried testing with the wrangler cli and the preview service and the error changed when I added static, but now it's telling me password is not defined, I think that's just because I'm passing the wrong request; localhost:8787?password=1234
Looks like you're missing a forward slash, here's what works for me: http://127.0.0.1:8787/?password=foo
I've just reverted the merge for now so no rush.
Here's a crack at infuriation levels. The low ones are quite obvious, the rest are just a thumb-suck. It's not pretty, but I'm fairly sure it gets the job done.