From e96b319a852b0799ce549e54811d2178250af92a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A7=89?= Date: Sat, 21 Oct 2023 09:18:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=AF=E5=8A=A8=E6=97=B6build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.js | 3 +++ 1 file changed, 3 insertions(+) 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'))