mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 10:53:11 +00:00
14 lines
714 B
Diff
14 lines
714 B
Diff
diff --git i/modules/setting/setting.go w/modules/setting/setting.go
|
|
index aafe2d1b..1e4a8064 100644
|
|
--- i/modules/setting/setting.go
|
|
+++ w/modules/setting/setting.go
|
|
@@ -730,7 +730,7 @@ func NewContext() {
|
|
LocalURL = sec.Key("LOCAL_ROOT_URL").MustString(defaultLocalURL)
|
|
OfflineMode = sec.Key("OFFLINE_MODE").MustBool()
|
|
DisableRouterLog = sec.Key("DISABLE_ROUTER_LOG").MustBool()
|
|
- StaticRootPath = sec.Key("STATIC_ROOT_PATH").MustString(AppWorkPath)
|
|
+ StaticRootPath = sec.Key("STATIC_ROOT_PATH").MustString("@data@")
|
|
AppDataPath = sec.Key("APP_DATA_PATH").MustString(path.Join(AppWorkPath, "data"))
|
|
EnableGzip = sec.Key("ENABLE_GZIP").MustBool()
|
|
EnablePprof = sec.Key("ENABLE_PPROF").MustBool(false)
|