Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1093 from pursual/master
Browse files Browse the repository at this point in the history
fix(core): Serve static files without session init
  • Loading branch information
codydaig committed Dec 8, 2015
2 parents 3887be9 + 4701722 commit bae0b6b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions config/lib/express.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,19 +228,19 @@ module.exports.init = function (db) {

// Initialize Express view engine
this.initViewEngine(app);

// Initialize Helmet security headers
this.initHelmetHeaders(app);

// Initialize modules static client routes, before session!
this.initModulesClientRoutes(app);

// Initialize Express session
this.initSession(app, db);

// Initialize Modules configuration
this.initModulesConfiguration(app);

// Initialize Helmet security headers
this.initHelmetHeaders(app);

// Initialize modules static client routes
this.initModulesClientRoutes(app);

// Initialize modules server authorization policies
this.initModulesServerPolicies(app);

Expand Down

0 comments on commit bae0b6b

Please sign in to comment.