Fix debug log

This commit is contained in:
lilia 2017-04-04 15:33:17 -07:00 committed by Scott Nonnenberg
parent 63657db3be
commit 86d703bc87
No known key found for this signature in database
GPG key ID: A4931C09644C654B
2 changed files with 3 additions and 2 deletions

View file

@ -53,7 +53,7 @@
}; };
console.get = function() { console.get = function() {
return window.navigator.userAgent + return window.navigator.userAgent +
' Signal-Desktop/' + chrome.runtime.getManifest().version + ' Signal-Desktop/' + window.env.version +
'\n' + log.print(); '\n' + log.print();
}; };
console.post = function(log) { console.post = function(log) {

View file

@ -62,7 +62,8 @@ function createWindow () {
slashes: true, slashes: true,
query: { query: {
node_env: NODE_ENV, node_env: NODE_ENV,
locale: locale locale: locale,
version: package_json.version
} }
})) }))