sobPilot
1 min readMar 12, 2019

--

You can also put all of the environment variables in the code and it will work on Azure.

const host = process.env.HOST || "0.0.0.0"
const port = process.env.PORT || 3001
app.listen(port, host, () => console.log(`Example app listening on host ${host}, port ${port}!`))

--

--

sobPilot
sobPilot

Written by sobPilot

A Pilot and Developer. I can't figure out if piloting pays for my development or development pays for my piloting.

No responses yet