this post was submitted on 20 Nov 2023
1695 points (98.1% liked)

Programmer Humor

32710 readers
313 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago

This sort of thing worked in the '90s. Many of the security restrictions in browsers these days means it doesn't consider the local file to be actually local, and you have to host from some kind of server. There are mini servers that are trivial to spin up, like SimpleHTTPServer on Python.