mirror of
https://github.com/jimeh/heartb.it.git
synced 2026-02-19 04:46:40 +00:00
10 lines
216 B
CoffeeScript
10 lines
216 B
CoffeeScript
# Load the app
|
|
app = require './app'
|
|
|
|
# Set port and start server.
|
|
app.listen process.env.PORT || 3000
|
|
|
|
# Print debug
|
|
console.log "Express app listening on port %d in %s mode",
|
|
app.address().port, app.settings.env
|