updated client path

This commit is contained in:
Baipyrus 2023-01-16 14:30:44 +01:00
parent 29f7a0ef84
commit 5ada6995dd

View File

@ -3,11 +3,13 @@ const http = require('http');
const express = require('express');
const app = express();
const clientPath = __dirname+'/../../Websites/TerminalHomepage';
const clientPath = __dirname+'/../html';
app.use(express.static(clientPath));
const server = http.createServer(app);
app.post('/message')
app.post('/message', (req, res) => {
});
server.on('error', err => {
console.error('Internal server error:', err);