Skip to content

Commit f87e2ef

Browse files
committed
electron tweak
1 parent 00ac6ed commit f87e2ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/electron/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ ipcMain.on('delete_cookie', event => {
376376
// opens new window for github oauth when button on sign in page is clicked
377377
ipcMain.on('github', event => {
378378
console.log('inside main.js in electron');
379-
const githubURL = `http://localhost:${process.env.PORT}/auth/github`;
379+
const githubURL = isDev ? `http://localhost:${process.env.PORT}/auth/github` : 'app://rse/';
380380
const options = {
381381
client_id: process.env.GITHUB_ID,
382382
client_secret: process.env.GITHUB_SECRET,

0 commit comments

Comments
 (0)