tomayac / opfs-explorer

OPFS Explorer is a Chrome DevTools extension that allows you to explore the Origin Private File System (OPFS) of a web application.
https://tomayac.github.io/opfs-explorer/
Apache License 2.0
99 stars 11 forks source link

Fix running on localhost #18

Closed mnvr closed 7 months ago

mnvr commented 7 months ago

This change was needed to get the extension to work on localhost. I'm not sure if this is the correct way, just something I did to make this work for myself.

This line was originally changed to unwrap the optional to make it work on localhost - https://github.com/tomayac/opfs-explorer/issues/2

Later on that change was reverted, perhaps accidentally?, in this commit - https://github.com/tomayac/opfs-explorer/commit/096540a22b1597d13c23ac68635659866d7624ea#diff-4389719a5fd3863f3281e887219a4c1350941eb726f9559d4a043cb8cbb06e01

By reintroducing the optional unwrap, I am able to get it to work on localhost.


p.s. A big thank you, @tomayac, for your work on the web platform. It is much appreciated! 🙏

tomayac commented 7 months ago

Thanks for digging up this issue again and the fix.

tomayac commented 7 months ago

Submitted to the store as v1.6.2 and pending review. This should go live soon!