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 00ac6ed commit f87e2efCopy full SHA for f87e2ef
app/electron/main.js
@@ -376,7 +376,7 @@ ipcMain.on('delete_cookie', event => {
376
// opens new window for github oauth when button on sign in page is clicked
377
ipcMain.on('github', event => {
378
console.log('inside main.js in electron');
379
- const githubURL = `http://localhost:${process.env.PORT}/auth/github`;
+ const githubURL = isDev ? `http://localhost:${process.env.PORT}/auth/github` : 'app://rse/';
380
const options = {
381
client_id: process.env.GITHUB_ID,
382
client_secret: process.env.GITHUB_SECRET,
0 commit comments