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

Commit

Permalink
fix(core): Serve static files without session init
Browse files Browse the repository at this point in the history
Fixes #1089
  • Loading branch information
pursual committed Dec 7, 2015
1 parent 43c7041 commit 4701722
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 4701722

Please sign in to comment.