mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-11 09:44:21 +01:00
🎨 Improve AccessAuthCode checking https://ld246.com/article/1738206227405
This commit is contained in:
parent
54fc5dd5a2
commit
7612415527
2 changed files with 4 additions and 0 deletions
|
|
@ -494,6 +494,8 @@ func InitConf() {
|
|||
if "" != util.AccessAuthCode {
|
||||
Conf.AccessAuthCode = util.AccessAuthCode
|
||||
}
|
||||
Conf.AccessAuthCode = strings.TrimSpace(Conf.AccessAuthCode)
|
||||
Conf.AccessAuthCode = util.RemoveInvalid(Conf.AccessAuthCode)
|
||||
|
||||
Conf.LocalIPs = util.GetLocalIPs()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue