[dockerfile] test new config stuff
This commit is contained in:
@@ -8,6 +8,10 @@ app.get('/', function(request, response) {
|
||||
response.send('Hello World!')
|
||||
})
|
||||
|
||||
app.get('/env/:key', function(request, response) {
|
||||
response.send(process.env[request.params["key"]])
|
||||
})
|
||||
|
||||
app.listen(app.get('port'), function() {
|
||||
console.log("Node app is running at localhost:" + app.get('port'))
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user