Wow, thanks for all the replies! Didn’t expect so many options.
I tried the `python -m http.server` trick and it worked perfectly. Super simple fix for javascript load json file from desktop.
Still curious about the FileReader API though—does it work with Node.js scripts? Or is it strictly for browser JS? Might play around with that next.
Thanks again, y’all are legends!
I tried the `python -m http.server` trick and it worked perfectly. Super simple fix for javascript load json file from desktop.
Still curious about the FileReader API though—does it work with Node.js scripts? Or is it strictly for browser JS? Might play around with that next.
Thanks again, y’all are legends!
