serve all css minimized & static files from /build
This commit is contained in:
@@ -99,6 +99,7 @@ app.use(passport.initialize());
|
||||
app.use(passport.session());
|
||||
|
||||
app.use(app.router);
|
||||
app.use(express['static'](path.join(__dirname, "/../build")));
|
||||
app.use(express['static'](path.join(__dirname, "/../public")));
|
||||
|
||||
// development only
|
||||
|
||||
Reference in New Issue
Block a user