mirror of
https://github.com/mjrode/WhatToWatch.git
synced 2026-05-07 21:19:08 -05:00
Add modal and plex token form
This commit is contained in:
@@ -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') {
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user