Permalink
Browse files

Changed serving static files in server config

  • Loading branch information...
1 parent 8dfd16e commit 53aefd33762fe28bada366fb66949930d329659a @rybex rybex committed Jun 8, 2015
Showing with 1 addition and 3 deletions.
  1. +1 −3 server.js
View
@@ -12,9 +12,7 @@ app.get('/', function (req, res) {
res.sendFile(__dirname + '/build/index.html');
});
-app.get('/style.css', function (req, res) {
- res.sendFile(__dirname + '/build/style.css');
-});
+app.use(express.static(__dirname + '/build/stylesheets'));
new WebpackDevServer(webpack(config), {
publicPath: config.output.publicPath,

0 comments on commit 53aefd3

Please sign in to comment.