From 5ada6995dd8264e684fef023eaf9b0ece242f29b Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Mon, 16 Jan 2023 14:30:44 +0100 Subject: [PATCH] updated client path --- index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 56c803e..ebe2d33 100644 --- a/index.js +++ b/index.js @@ -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);