diff --git a/index.mjs b/index.mjs index 761a723..3cd13b5 100644 --- a/index.mjs +++ b/index.mjs @@ -22,9 +22,6 @@ app.use(bodyParser.json({ limit: '2mb' })) app.use('/api', apiRouter); -//开启静态文件支持 -app.use(express.static('public')); - /* app.get('/', (req, res) => { return res.send('Welcome to Hero Union of filesite.io'); diff --git a/package.json b/package.json index 5f905d5..a06595f 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "herounion", + "name": "@filesite/herounion", "description": "A hero bot union, which can manage hero bots and their tasks.", "version": "0.0.1", "author": "filesite.io",