Commit e941cc19 authored by Adrien Pavie's avatar Adrien Pavie
Browse files

Fix for /doc relative path

parent a0d9fbe8
...@@ -28,7 +28,7 @@ const express = require('express'), ...@@ -28,7 +28,7 @@ const express = require('express'),
app.use(bodyParser.urlencoded({ extended: true })); app.use(bodyParser.urlencoded({ extended: true }));
app.use(bodyParser.json()); app.use(bodyParser.json());
app.use('/doc', express.static('doc')); app.use('/doc', express.static(__dirname+'/doc'));
const routes = require('./api/routes/P4CaaSRoutes'); const routes = require('./api/routes/P4CaaSRoutes');
routes(app); routes(app);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment