启动时build
This commit is contained in:
parent
2d4da34a41
commit
e96b319a85
3
index.js
3
index.js
@ -125,4 +125,7 @@ app.post('/webhook', (req, res) => {
|
|||||||
return res.json({ success: true })
|
return res.json({ success: true })
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// 启动时build
|
||||||
|
exec('npm run build')
|
||||||
|
|
||||||
app.listen(4096, () => console.log('Server started on port 4096'))
|
app.listen(4096, () => console.log('Server started on port 4096'))
|
||||||
|
Loading…
Reference in New Issue
Block a user