Skip to content

Commit cdca3db

Browse files
Update server.ts
Fixed Git Auth line 85, commented out code prevents /Auth from loading. sending error 500
1 parent b1f9ca0 commit cdca3db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ if (process.env.NODE_ENV == 'production') {
8282
// NOTE from v13.0 team: GitHub OAuth works fine in Electron production app and the backend for Electron production app is deployed on Heroku at https://reactype-caret.herokuapp.com/ (get credentials from instructor )
8383

8484
const passport = require('passport');
85-
// const passportSetup = require('./routers/passport-setup');
85+
const passportSetup = require('./routers/passport-setup');
8686
const session = require('express-session');
8787
import authRoutes from './routers/auth';
8888

0 commit comments

Comments
 (0)