Transactions
Dan 2017-09-01 23:45:57 -06:00
parent a826033aea
commit bb7347fb3d
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 () {