Skip to content

Commit

Permalink
配置梳理
Browse files Browse the repository at this point in the history
  • Loading branch information
xiyoo0812 committed Nov 15, 2023
1 parent bd3b158 commit 3678948
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/share.conf
Original file line number Diff line number Diff line change
Expand Up @@ -120,16 +120,16 @@ set_env("QUANTA_WECHAT_URL", "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?k
set_env("QUANTA_SANDBOX", "sandbox")
--定义协议文件路径,多个路径使用";"隔开
set_env("QUANTA_PROTO_PATH", "./proto/")
--定义webhook日志路径
set_env("QUANTA_WEBHOOK_PATH", "./webhooks/")

--定义lua代码查询路径/扩展库查询路径
if platform == "windows" then
set_env("QUANTA_LOG_PATH", "./logs/")
set_env("QUANTA_STATIS_PATH", "./statis/")
set_env("LUA_PATH", "!/../server/?.lua;!/../quanta/script/luaoop/?.lua;!/../quanta/script/?.lua;!/../quanta/server/?.lua;;", 1)
set_env("QUANTA_WEBHOOK_PATH", "./webhooks/")
set_env("LUA_PATH", "!/../server/?.lua;!/../script/luaoop/?.lua;!/../script/?.lua;;", 1)
else
set_env("QUANTA_LOG_PATH", "/var/quanta/logs/")
set_env("QUANTA_STATIS_PATH", "/var/quanta/statis/")
set_env("LUA_PATH", "../server/?.lua;../quanta/script/luaoop/?.lua;../quanta/script/?.lua;../quanta/server/?.lua;;", 1)
set_env("QUANTA_WEBHOOK_PATH", "/var/quanta//webhooks/")
set_env("LUA_PATH", "../server/?.lua;../script/luaoop/?.lua;../script/?.lua;;", 1)
end

0 comments on commit 3678948

Please sign in to comment.