mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 17:40:46 -04:00
route for mini
This commit is contained in:
@@ -11,6 +11,9 @@ app.use(express.static(config.staticDir));
|
|||||||
app.get('/spectate', (req, res) => {
|
app.get('/spectate', (req, res) => {
|
||||||
res.sendFile(path.join(config.staticDir, 'index.html'));
|
res.sendFile(path.join(config.staticDir, 'index.html'));
|
||||||
});
|
});
|
||||||
|
app.get('/mini', (req, res) => {
|
||||||
|
res.sendFile(path.join(config.staticDir, 'index.html'));
|
||||||
|
});
|
||||||
|
|
||||||
const httpServer = http.createServer(app);
|
const httpServer = http.createServer(app);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user