An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Set the env `SIYUAN_ACCESS_AUTH_CODE_BYPASS=true` to skip checking access auth code when deploying Docker Fix https://github.com/siyuan-note/siyuan/issues/9709
Daniel08a374825f71
diff --git a/kernel/util/working.go b/kernel/util/working.goindex c9cc1a1b5d..6bcceb5670 100644--- a/kernel/util/working.go+++ b/kernel/util/working.go@@ -89,12 +89,12 @@ func Boot() {bypass, parseErr := strconv.ParseBool(byPassEnv)if nil == parseErr && bypass {interruptBoot = false- logging.LogInfof("bypass access auth code check since the env [SIYUAN_ACCESS_AUTH_CODE_BYPASS] is set to [true]")+ fmt.Println("bypass access auth code check since the env [SIYUAN_ACCESS_AUTH_CODE_BYPASS] is set to [true]")}if interruptBoot {// The access authorization code command line parameter must be set when deploying via Docker https://github.com/siyuan-note/siyuan/issues/9328- fmt.Printf("The access authorization code command line parameter (--accessAuthCode) must be set when deploying via Docker.")+ fmt.Printf("the access authorization code command line parameter (--accessAuthCode) must be set when deploying via Docker")os.Exit(1)}}