added some testing code to see if node works
This commit is contained in:
@@ -28,6 +28,10 @@ app.get('/projects/css/:file', (request, response) => {
|
|||||||
response.sendFile(path.join(__dirname + "/css/" + request.params.file))
|
response.sendFile(path.join(__dirname + "/css/" + request.params.file))
|
||||||
})
|
})
|
||||||
|
|
||||||
|
app.get('/test/test', (request, response) => {
|
||||||
|
response.send("THIS WORKS!")
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
http.createServer(
|
http.createServer(
|
||||||
app
|
app
|
||||||
|
|||||||
Reference in New Issue
Block a user