From 33a41855ad929f95d61db6f10d4e998ba74a8c3b Mon Sep 17 00:00:00 2001 From: Daniel Rodriguez Date: Mon, 19 Aug 2019 20:13:31 +0200 Subject: [PATCH] changes in routes --- index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index f6b7f01..6324098 100644 --- a/index.js +++ b/index.js @@ -4,10 +4,10 @@ const path = require('path'); var app = express(); -app.use(express.static(__dirname + '/dist')); -app.use(express.static(__dirname + '/dist/assets')); +app.use(express.static(__dirname + '/dist/TFTPaths')); +app.use(express.static(__dirname + '/dist/TFTPaths/assets')); app.get('*',function(req,res){ - res.sendFile(__dirname + '/dist/index.html'); + res.sendFile(__dirname + '/dist/TFTPaths/index.html'); }); app.listen(8080, function()