style: dir name

This commit is contained in:
Zheng Kai
2023-09-07 15:17:02 +08:00
parent 0fc7868b71
commit 87ab452a6a
3 changed files with 4 additions and 3 deletions

View File

@@ -2,7 +2,8 @@
# copy it as "env.sh" and edit
export OPENAI_API_KEY="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"
export OPENAI_API_KEY="sk-xxxx"
export ORCA_DIR="/www/orca/static"
export ORCA_WEB=":22035"
export ORCA_ES_ADDR="https://10.0.84.49:9200/"
export ORCA_ES_USER=""

View File

@@ -14,7 +14,7 @@ func init() {
list := map[string]*string{
`OPENAI_API_KEY`: &OpenAIKey,
`STATIC_DIR`: &StaticDir,
`ORCA_DIR`: &StaticDir,
`ORCA_WEB`: &WebAddr,
`ORCA_LOG`: &LogDir,
`ORCA_ES_ADDR`: &ESAddr,