Skip to content
This repository has been archived by the owner on Mar 8, 2019. It is now read-only.

Commit

Permalink
The 'all.css' file should always be served from the 'dist/public/css'…
Browse files Browse the repository at this point in the history
… folder
  • Loading branch information
jlescot committed Apr 20, 2015
1 parent 5205395 commit a778a8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions techStatic.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ var serveStaticAssets = function(app, opts) {
}));
});

// Specific routing for the all.css file which is always retrieved from the dist/public/css folder
app.use(resourcesDebugUrlBase + "/css", staticMw(path.join(distDir, "css"), cacheOptions));
} else {
_.each(dirs, function(dir) {
var publicDir = path.join(dir, "public");
Expand Down

0 comments on commit a778a8e

Please sign in to comment.