启动时build

This commit is contained in:
2023-10-21 09:18:26 +08:00
parent 2d4da34a41
commit e96b319a85
1 changed files with 3 additions and 0 deletions

View File

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