faaso/runtimes/express/template/funko.js

15 lines
280 B
JavaScript
Raw Normal View History

2024-07-07 00:21:02 +00:00
const express = require('express')
const app = express()
const port = 3000
app.get('/', (req, res) => {
res.send('Hello World!')
})
app.get('/ping', (req, res) => {
res.send('OK')
})
app.listen(port, () => {
console.log(`Example funko listening on port ${port}`)
})