faaso/runtimes/express/template/funko.js

16 lines
281 B
JavaScript
Raw Permalink 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}`)
2024-07-09 01:02:47 +00:00
})