1
0
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:
Matthias Kretschmann 2018-03-21 12:42:31 +01:00
parent a3200f2742
commit da48fc4cab
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 1 additions and 3 deletions

View File

@ -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": {

View File

@ -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)