mirror of
https://github.com/sorenisanerd/gotty.git
synced 2024-11-22 04:14:25 +00:00
Merge pull request #157 from yudai/inmemory_storage
Use in memory storage not to clear local storage
This commit is contained in:
commit
b181c6baf5
File diff suppressed because one or more lines are too long
@ -16,8 +16,7 @@
|
|||||||
ws.send(JSON.stringify({ Arguments: args, AuthToken: gotty_auth_token,}));
|
ws.send(JSON.stringify({ Arguments: args, AuthToken: gotty_auth_token,}));
|
||||||
pingTimer = setInterval(sendPing, 30 * 1000, ws);
|
pingTimer = setInterval(sendPing, 30 * 1000, ws);
|
||||||
|
|
||||||
hterm.defaultStorage = new lib.Storage.Local();
|
hterm.defaultStorage = new lib.Storage.Memory();
|
||||||
hterm.defaultStorage.clear();
|
|
||||||
|
|
||||||
term = new hterm.Terminal();
|
term = new hterm.Terminal();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user