feat: 添加管理员密码保护 bootstrap 接口
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
module.exports = {
|
||||
port: process.env.PORT || 3000,
|
||||
admin: {
|
||||
password: process.env.ADMIN_PASSWORD || '',
|
||||
},
|
||||
storage: {
|
||||
baseDir: process.env.STORAGE_DIR || './storage',
|
||||
get filesDir() { return this.baseDir + '/files'; },
|
||||
|
||||
Reference in New Issue
Block a user