fix default path to frontend

This commit is contained in:
Baipyrus 2024-07-19 11:38:08 +00:00
parent b005e22025
commit 4ccc0265d2

View File

@ -11,7 +11,7 @@ const express = require('express');
// Global server setup
const app = express();
const clientPath = __dirname+'/../html';
const clientPath = __dirname+'/../TerminalHomepage';
console.log('Serving static from ' + clientPath);
app.use(express.json());
app.use(express.static(clientPath));