Skip to content

Commit

Permalink
Use in memory storage not to clear local storage
Browse files Browse the repository at this point in the history
Closes #118.
  • Loading branch information
yudai committed Aug 8, 2017
1 parent 2733006 commit a046c6f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
14 changes: 7 additions & 7 deletions app/resource.go

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions resources/gotty.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
ws.send(JSON.stringify({ Arguments: args, AuthToken: gotty_auth_token,}));
pingTimer = setInterval(sendPing, 30 * 1000, ws);

hterm.defaultStorage = new lib.Storage.Local();
hterm.defaultStorage.clear();
hterm.defaultStorage = new lib.Storage.Memory();

term = new hterm.Terminal();

Expand Down

0 comments on commit a046c6f

Please sign in to comment.