We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70c852c commit 71c5c8dCopy full SHA for 71c5c8d
app/electron/main.js
@@ -376,7 +376,9 @@ ipcMain.on('delete_cookie', event => {
376
377
// opens new window for github oauth when button on sign in page is clicked
378
ipcMain.on('github', event => {
379
- const githubURL = `http://localhost:${DEV_PORT}/auth/github`;
+ const githubURL = isDev
380
+ ? `http://localhost:${DEV_PORT}/auth/github`
381
+ : `https://reactype-caret.herokuapp.com/auth/github`;
382
const options = {
383
client_id: process.env.GITHUB_ID,
384
client_secret: process.env.GITHUB_SECRET,
0 commit comments