fp/packages/link2cid/index.js

10 lines
246 B
JavaScript

require('dotenv').config()
const app = require('./src/app.js')
const port = process.env.PORT || 3000
const version = require('./package.json').version
app.listen(port, () => {
console.log(`link2cid ${version} listening on port ${port}`)
})