updated client path
This commit is contained in:
parent
29f7a0ef84
commit
5ada6995dd
6
index.js
6
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);
|
||||
|
Loading…
Reference in New Issue
Block a user