Commit f4243403 by Johannes Zellner

Serve up the correct files

1 parent 599f7a21
Showing with 1 additions and 1 deletions
......@@ -34,7 +34,7 @@ router.get('/', function (req, res) { res.status(200).send(ejs.render(fs.readFil
app.use(morgan('dev'));
app.use(compression());
app.use('/settings', express.static(__dirname + '/app'));
app.use(express.static(__dirname + '/files'));
app.use(express.static(path.resolve(__dirname, process.argv[2] || 'files')));
app.use(bodyParser.json());
app.use(bodyParser.urlencoded());
app.use(cookieParser());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!