fission-codes / auth-lobby

The authentication service that Fission services run.
https://auth.fission.codes
GNU Affero General Public License v3.0
12 stars 1 forks source link

Lobby should request permission to use persistent storage #34

Closed icidasset closed 3 years ago

icidasset commented 3 years ago

https://developer.mozilla.org/en-US/docs/Web/API/StorageManager

So that it could store more stuff in indexedDB without hitting the limit. It's not really clear how this works exactly, especially when using workers. We need to request it here so the shared worker can gain this benefit automatically.