mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-31 22:23:14 +02:00
chore: add ROOT_DIR environment variable, refactor
This commit is contained in:
@@ -19,6 +19,8 @@ var (
|
||||
IsDebug = GetEnvBool("DEBUG", IsTest)
|
||||
IsTrace = GetEnvBool("TRACE", false) && IsDebug
|
||||
|
||||
RootDir = GetEnvString("ROOT_DIR", "./")
|
||||
|
||||
HTTP3Enabled = GetEnvBool("HTTP3_ENABLED", true)
|
||||
|
||||
ProxyHTTPAddr,
|
||||
|
||||
Reference in New Issue
Block a user