top | item 44941015

(no title)

emadda | 6 months ago

The local html file can read local resources via src=file_path attributes on html tags (img, audio, video, script etc).

But the src-included files must be in the same directory as the root html file (or a descendant directory)

I used this in my macOS app Pocket Log to output a local html audio log (https://enzom.dev).

discuss

order

codedokode|6 months ago

Sadly it doesn't work for JS modules, only for legacy JS scripts.