mirror of
https://github.com/oceanprotocol/webtasks
synced 2024-11-23 18:41:30 +01:00
use wt serve
for local development
This commit is contained in:
parent
a3200f2742
commit
da48fc4cab
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"start": "node webtask-medium.js",
|
||||
"start": "wt serve webtask-medium.js",
|
||||
"test": "eslint ./{src,public}/**/*.js"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -54,6 +54,4 @@ app.get('/:username/raw', (req, res) => {
|
||||
})
|
||||
})
|
||||
|
||||
app.listen(4000, () => console.log('Example app listening on localhost:4000!')) // eslint-disable-line no-console
|
||||
|
||||
module.exports = webtask.fromExpress(app)
|
||||
|
Loading…
Reference in New Issue
Block a user