diff --git a/app.js b/app.js index a5964a9..c81de93 100755 --- a/app.js +++ b/app.js @@ -9,9 +9,6 @@ var users = require('./routes/users'); var app = express(); -// expose node_modules to client app -app.use(express.static(__dirname + "/node_modules")); - // uncomment after placing your favicon in /public // app.use(favicon(path.join(__dirname, 'public', 'favicon.ico'))); app.use(logger('dev')); @@ -19,9 +16,6 @@ app.use(bodyParser.json()); app.use(bodyParser.urlencoded({ extended: false })); app.use(cookieParser()); -// Do we need this? -app.use(require('stylus').middleware(path.join(__dirname, 'public'))); - app.use(express.static(path.join(__dirname, 'public'))); app.use(express.static(path.join(__dirname, 'app'))); diff --git a/package.json b/package.json index e3fb483..436b02b 100644 --- a/package.json +++ b/package.json @@ -16,8 +16,7 @@ "debug": "~2.2.0", "express": "~4.13.1", "morgan": "~1.6.1", - "serve-favicon": "~2.3.0", - "stylus": "0.42.3" + "serve-favicon": "~2.3.0" }, "devDependencies": { "@angular/common": "2.0.0-rc.2", diff --git a/public/index.html b/public/index.html index 5680389..ee1de9b 100755 --- a/public/index.html +++ b/public/index.html @@ -6,11 +6,10 @@ - - - - - + + + +