diff --git a/.gitignore b/.gitignore index 16c862a..b834af7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,4 @@ -/keymap/* -/lib/* -/mode/* +/codemirror/* /note-data/* index.html /logs/* diff --git a/server.js b/server.js index 3105ad0..3620cc4 100644 --- a/server.js +++ b/server.js @@ -15,9 +15,10 @@ app.engine('hbs', hbs.express4({ })); app.set('view engine', 'hbs'); app.set('views', __dirname + '/views'); -app.use('/lib', express.static('lib')); // these 3 seem hacky, but doing it here instead of view. -app.use('/keymap', express.static('keymap')); -app.use('/mode', express.static('mode')); +//app.use('/lib', express.static('lib')); // these 3 seem hacky, but doing it here instead of view. +//app.use('/keymap', express.static('keymap')); +//app.use('/mode', express.static('mode')); +app.use(express.static('codemirror')); var notePath = __dirname + '/note-data/allNotes.txt';