diff --git a/package.json b/package.json index 9fc937a..09a4075 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/webtask-medium.js b/webtask-medium.js index c511f7c..195d97c 100644 --- a/webtask-medium.js +++ b/webtask-medium.js @@ -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)