Page MenuHomePhabricator

D13789.diff
No OneTemporary

D13789.diff

diff --git a/keyserver/src/responders/landing-handler.js b/keyserver/src/responders/landing-handler.js
--- a/keyserver/src/responders/landing-handler.js
+++ b/keyserver/src/responders/landing-handler.js
@@ -198,6 +198,14 @@
<base href="${basePath}" />
${fontsInclude}
${cssInclude}
+ <script>
+ localStorage.clear();
+ indexedDB.databases().then(databases => {
+ databases.forEach(db => {
+ indexedDB.deleteDatabase(db.name);
+ });
+ });
+ </script>
<link
rel="apple-touch-icon"
sizes="180x180"
diff --git a/landing/script.js b/landing/script.js
--- a/landing/script.js
+++ b/landing/script.js
@@ -1,7 +1,5 @@
// @flow
-localStorage.clear();
-
import 'isomorphic-fetch';
import invariant from 'invariant';

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 22, 8:10 AM (18 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2560684
Default Alt Text
D13789.diff (848 B)

Event Timeline