diff --git a/lib/serve.js b/lib/serve.js index 48c07b7..72fdbd4 100644 --- a/lib/serve.js +++ b/lib/serve.js @@ -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({