mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-09 00:34:20 +01:00
🔒 Randomly generate the cookie key https://github.com/siyuan-note/siyuan/issues/16690
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
cef8ca8cf7
commit
a65dcd220f
5 changed files with 13 additions and 7 deletions
|
|
@ -31,7 +31,7 @@ func main() {
|
|||
util.Boot()
|
||||
|
||||
model.InitConf()
|
||||
go server.Serve(false)
|
||||
go server.Serve(false, model.Conf.CookieKey)
|
||||
model.InitAppearance()
|
||||
sql.InitDatabase(false)
|
||||
sql.InitHistoryDatabase(false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue