🍕✊ Checkpoint
./server.js:7435365/248
This commit is contained in:
parent
30930b4ced
commit
ce75066657
@ -16,6 +16,10 @@ app.get("/", function(request, response) {
|
|||||||
response.sendFile(__dirname + "/views/index.html");
|
response.sendFile(__dirname + "/views/index.html");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
app.get("/newreading", function(request, response) {
|
||||||
|
response.status(200).send('GlitchApp Success').end();
|
||||||
|
});
|
||||||
|
|
||||||
// listen for requests :)
|
// listen for requests :)
|
||||||
const listener = app.listen(process.env.PORT, function() {
|
const listener = app.listen(process.env.PORT, function() {
|
||||||
console.log("Your app is listening on port " + listener.address().port);
|
console.log("Your app is listening on port " + listener.address().port);
|
||||||
|
Loading…
Reference in New Issue
Block a user