Fixed client serving

This commit is contained in:
Thomas
2021-01-29 14:08:33 +01:00
parent f4842a9f32
commit b3e8bc4889

View File

@@ -7,7 +7,7 @@ const app = express();
const WebSocketServer = Server; const WebSocketServer = Server;
const port = process.env.PORT || 3000; const port = process.env.PORT || 3000;
app.use(express.static('../distClient')); app.use(express.static('distClient/'));
const server = app.listen(port, () => { const server = app.listen(port, () => {
console.log(`Tron.io running on port ${port}`); console.log(`Tron.io running on port ${port}`);