1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-04 03:46:19 +02:00

Better id

This commit is contained in:
syuilo
2018-10-13 19:16:47 +09:00
parent 2b536a7443
commit 3aef5e6748
5 changed files with 7 additions and 7 deletions

View File

@@ -142,7 +142,7 @@
localStorage.setItem('shouldFlush', 'false');
// Random
localStorage.setItem('salt', Math.random().toString());
localStorage.setItem('salt', Math.random().toString().substr(2, 8));
// Clear cache (service worker)
try {