Skip to content

Commit

Permalink
Fix & simplify highlight statics
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Feb 23, 2017
1 parent 23aa8a9 commit e8da915
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/serve.js
Expand Up @@ -33,8 +33,7 @@ module.exports = function startServer(options, cb) {
app.use('/' + dir, staticDir(path.join(options.revealBasePath, dir)));
});

const highlightFilename = `${options.highlightTheme}.css`;
app.get(`/css/highlight/${highlightFilename}`, staticDir(path.join(options.highlightThemePath, highlightFilename)));
app.use(`/css/highlight`, staticDir(options.highlightThemePath));

if(options.watch) {
const liveReloadServer = liveReload.createServer({
Expand Down

0 comments on commit e8da915

Please sign in to comment.