Skip to content
Snippets Groups Projects
Commit dfc6eb38 authored by bonvamby's avatar bonvamby
Browse files

changed server.js file for index.html path

parent 985a30ec
No related branches found
No related tags found
No related merge requests found
......@@ -2,9 +2,9 @@ const express = require('express');
const path = require('path');
const app = express();
app.use(express.static(__dirname + '/dist/kg2nl-frontend'));
app.use(express.static(__dirname + '/dist/kg2nl-ui'));
app.get('/*', function(req,res) {
res.sendFile(path.join(__dirname + '/dist/kg2nl-frontend/index.html'));
res.sendFile(path.join(__dirname + '/dist/kg2nl-ui/index.html'));
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment