Add modal and plex token form

This commit is contained in:
mjrode
2019-04-05 21:38:47 -05:00
parent 254c0784d9
commit 2e7421f342
18 changed files with 527 additions and 116 deletions
+1
View File
@@ -36,6 +36,7 @@ export default () => {
// Set up routes
server.use('/api/plex', plex);
server.use('/api/tdaw', tdaw);
server.use('/auth', auth);
server.use('/api/auth', auth);
if (process.env.NODE_ENV === 'production') {
+1 -1
View File
@@ -19,7 +19,7 @@ passport.use(
{
clientID: keys.server.googleClientID,
clientSecret: keys.server.googleClientSecret,
callbackURL: '/auth/google/callback',
callbackURL: '/api/auth/google/callback',
proxy: true,
},
async (accessToken, refreshToken, profile, done) => {