diff --git a/.gitignore b/.gitignore index 92f732b..106c7df 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ .DS_Store /node_modules -/out \ No newline at end of file +/out + +*.sublime-workspace diff --git a/electron.sublime-project b/electron.sublime-project new file mode 100644 index 0000000..24db303 --- /dev/null +++ b/electron.sublime-project @@ -0,0 +1,8 @@ +{ + "folders": + [ + { + "path": "." + } + ] +} diff --git a/src/config.js b/src/config.js index 3537600..3211b79 100644 --- a/src/config.js +++ b/src/config.js @@ -6,6 +6,6 @@ const DOMAIN = "crimata.com"; const prod = process.env.PROD; module.exports = { - PLATFORM: prod ? `https://app.${DOMAIN}` : `http://localhost:8760`, - API: prod ? `https://${DOMAIN}/api` : `http://localhost:8761` + PLATFORM: prod ? `https://app.${DOMAIN}` : `http://localhost:5000`, + API: prod ? `https://${DOMAIN}/api` : `http://localhost:5001` } diff --git a/src/session.js b/src/session.js index 883be16..f5aa0e1 100644 --- a/src/session.js +++ b/src/session.js @@ -29,6 +29,8 @@ function handleMessageQueue() // { const update = messageQueue.shift(); + console.log(update); + if (update) { if (update.person)