diff --git a/index.js b/index.js index 10bdfaa..74117c1 100644 --- a/index.js +++ b/index.js @@ -125,4 +125,7 @@ app.post('/webhook', (req, res) => { return res.json({ success: true }) }) +// 启动时build +exec('npm run build') + app.listen(4096, () => console.log('Server started on port 4096'))