Merge branch 'main' into soon

pull/1/head
ansuz 2021-04-13 05:03:58 +05:30
commit 27b9f21f98
1 changed files with 12 additions and 3 deletions

View File

@ -1,4 +1,13 @@
define(['/bower_components/localforage/dist/localforage.min.js'], function (localForage) {
localForage.clear();
localStorage.clear();
define([
'/bower_components/localforage/dist/localforage.min.js',
'/common/outer/cache-store.js',
'/bower_components/nthen/index.js',
], function (localForage, Cache, nThen) {
nThen(function (w) {
localStorage.clear();
localForage.clear(w());
Cache.clear(w());
}).nThen(function () {
window.location.href = '/login/';
});
});