Transactions
Dan 2017-09-02 00:02:10 -06:00
parent 3070ce3fa5
commit 073ff98da9
1 changed files with 2 additions and 2 deletions

View File

@ -2,11 +2,11 @@ const express = require('express');
const app = express();
var path = require('path');
app.use(express.static('www'));
app.use(express.static('../www'));
app.get('/*', function (req, res) {
console.log(req.originalUrl);
res.sendFile(path.join(__dirname, './www', 'index.html'));
res.sendFile(path.join(__dirname, '../www', 'index.html'));
})
app.listen(25776, function () {