fix default path to frontend
This commit is contained in:
parent
b005e22025
commit
4ccc0265d2
2
index.js
2
index.js
@ -11,7 +11,7 @@ const express = require('express');
|
|||||||
|
|
||||||
// Global server setup
|
// Global server setup
|
||||||
const app = express();
|
const app = express();
|
||||||
const clientPath = __dirname+'/../html';
|
const clientPath = __dirname+'/../TerminalHomepage';
|
||||||
console.log('Serving static from ' + clientPath);
|
console.log('Serving static from ' + clientPath);
|
||||||
app.use(express.json());
|
app.use(express.json());
|
||||||
app.use(express.static(clientPath));
|
app.use(express.static(clientPath));
|
||||||
|
Loading…
Reference in New Issue
Block a user