Update router for static media files
continuous-integration/drone Build is passing
Details
continuous-integration/drone Build is passing
Details
parent
900029783f
commit
b8d4301429
|
|
@ -29,6 +29,8 @@ console.log(wwwFolder);
|
||||||
|
|
||||||
app.use(express.static(wwwFolder));
|
app.use(express.static(wwwFolder));
|
||||||
|
|
||||||
|
app.use('/media', express.static('/media'));
|
||||||
|
|
||||||
app.get('/*', function (req, res) {
|
app.get('/*', function (req, res) {
|
||||||
console.log(__dirname);
|
console.log(__dirname);
|
||||||
console.log(req.originalUrl);
|
console.log(req.originalUrl);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue