Asmor / 5e-monsters

Kobold Fight Club
http://kobold.club/fight
MIT License
257 stars 112 forks source link

Issue with shareable links due to HTTP and HTTPS having separate localstorage #151

Open Asmor opened 6 years ago

Asmor commented 6 years ago

In troubleshooting #150, I discovered that HTTP and HTTPS have separate localStorage. Thus if someone distributes an HTTP shareable link, it won't work for someone who uses KFC via HTTPS, and vice versa.

Need to find a way to either detect that someone uses the other protocol, or perhaps even find a way to sync everything to HTTPS and then force everyone to that.

Asmor commented 6 years ago

Might make sense to roll this and #149 together into a single big "migration" that would handle porting everything over to HTTPS and splitting up the sheets.