This commit is contained in:
Daniel Rodriguez 2019-08-19 20:00:53 +02:00
parent 2e12f90b7f
commit a7de236f3f
540 changed files with 65753 additions and 11694 deletions

18
index.js Normal file
View file

@ -0,0 +1,18 @@
//Install express server
const express = require('express');
const path = require('path');
var app = express();
// Start the app by listening on the default Heroku port
var port = 8080;
app.use(express.static(__dirname + '/dist'));
app.use(express.static(__dirname + '/dist/assets'));
app.get('*',function(req,res){
res.sendFile(__dirname + '/dist/index.html');
});
app.listen(port, function()
{
console.log("ok");
});