Skip to content

Commit

Permalink
Merge 83f3f8c into 34fd22c
Browse files Browse the repository at this point in the history
  • Loading branch information
Veraclins committed Aug 20, 2018
2 parents 34fd22c + 83f3f8c commit 7432115
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ app.use(bodyParser.json());
app.use(methodOverride());
app.use(express.static(`${__dirname}/public`));

app.use(passport.initialize());
app.use(passport.session());

app.use(
session({
secret: process.env.SESSION_KEY,
Expand All @@ -33,9 +36,6 @@ app.use(
}),
);

app.use(passport.initialize());
app.use(passport.session());

app.use('/api', router);

// catch un-available routes
Expand Down

0 comments on commit 7432115

Please sign in to comment.