Fixed app.get
This commit is contained in:
4
main.js
4
main.js
@ -20,8 +20,8 @@ let requestedTak = "Unfetched";
|
|||||||
|
|
||||||
console.log("Server initalize!");
|
console.log("Server initalize!");
|
||||||
|
|
||||||
app.get('/tltmap', (req, res) => {
|
app.get('/', (req, res) => {
|
||||||
console.log("Init /tltmap");
|
console.log("Requested / . Fetching!");
|
||||||
//index.html
|
//index.html
|
||||||
res.sendFile(__dirname + '/client/index.html');
|
res.sendFile(__dirname + '/client/index.html');
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user