News for hackers. Stuff that matters.
Re:Miniflare – Simulator for developing and testing Cloudfla... by squaresmile on Friday September 24, 2021 @01:45PM (#28645606)
> dev/preview

Ah sorry, I was confusing stuffs. It wasn't even wrangler preview, it was the web editor on the worker website.

> cloudflared

Yep, I noticed that update. I couldn't have updated wrangler faster.

> Promise.then

I'm sorry again. False alarm. It's me not understanding when things get executed.

> URL.createObjectURL

I don't really have a use case for it. It was mostly me seeing the example code being reasonable, copied it and was surprised it didn't work.

Re:Miniflare – Simulator for developing and testing Cloudfla... by threepointone on Friday September 24, 2021 @01:58PM (#28645752)
We should definitely not have examples on the docs that don't actually work. I'll fix this.
Re:Miniflare – Simulator for developing and testing Cloudfla... by pier25 on Friday September 24, 2021 @06:00PM (#28648287)
Do you accept PRs on the docs (at least for the examples)?
Re:Miniflare – Simulator for developing and testing Cloudfla... by vlovich123 on Friday September 24, 2021 @08:11PM (#28649171)
Re:Miniflare – Simulator for developing and testing Cloudfla... by threepointone on Friday September 24, 2021 @09:07PM (#28649461)
Also, every page has an "Edit on Github" link so you can go straight to the page you're seeing (in this case - https://github.com/cloudflare/cloudflare-docs/blob/productio...)