Skip to content

Commit

Permalink
Update eak to support an electron-shell wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Dytrych committed Jun 15, 2015
1 parent fb0a034 commit e9a0778
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/scripts/logger.ls
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const dt = 15000ms

root = if window.location.host.match /eraseallkittens\.com/
'//api.eraseallkittens.com/v1'
root = if window.location.host.match /eraseallkittens\.com/ or window.location.port is \5275
'https://api.eraseallkittens.com/v1'
else
'//localhost:3000/v1'

Expand Down Expand Up @@ -60,7 +60,7 @@ module.exports = {
browser-locale: window.navigator.language
game-locale: lang
entry-hash: window.location.hash
domain: window.location.host
domain: if window.location.port is \5275 then \ELECTRON_APP else window.location.host
missing-features: missing-features or false
}

Expand Down

0 comments on commit e9a0778

Please sign in to comment.