Fixed client serving
This commit is contained in:
@@ -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}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user