forked from DevOps/deploy.stack
refactor(config): 移除社交网络类别并添加安全凭证
- 删除不再需要的社交网络类别及其相关链接配置 - 在security部分新增username和password字段以增强安全性
This commit is contained in:
@@ -9,16 +9,6 @@ url = 'https://google.com'
|
||||
name = 'Baidu'
|
||||
url = 'https://baidu.com'
|
||||
|
||||
[[categories]]
|
||||
name = '社交网络'
|
||||
|
||||
[[categories.links]]
|
||||
name = 'Twitter'
|
||||
url = 'https://twitter.com'
|
||||
|
||||
[[categories.links]]
|
||||
name = 'Facebook'
|
||||
url = 'https://facebook.com'
|
||||
|
||||
[[categories]]
|
||||
name = '编程工具'
|
||||
@@ -45,6 +35,8 @@ output = 'stdout'
|
||||
|
||||
[security]
|
||||
cors = true
|
||||
username = "admin"
|
||||
password = "your_secure_password"
|
||||
|
||||
[server]
|
||||
# mode :: debug(开发模式) 或 release(生产模式)
|
||||
|
||||
Reference in New Issue
Block a user