Fix debug log
This commit is contained in:
parent
63657db3be
commit
86d703bc87
2 changed files with 3 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
3
main.js
3
main.js
|
@ -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
|
||||||
}
|
}
|
||||||
}))
|
}))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue