diff options
Diffstat (limited to 'pkgs/applications/version-management/forgejo/static-root-path.patch')
-rw-r--r-- | pkgs/applications/version-management/forgejo/static-root-path.patch | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/pkgs/applications/version-management/forgejo/static-root-path.patch b/pkgs/applications/version-management/forgejo/static-root-path.patch deleted file mode 100644 index 7f70329c60407..0000000000000 --- a/pkgs/applications/version-management/forgejo/static-root-path.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/modules/setting/server.go b/modules/setting/server.go -index 183906268..fa02e8915 100644 ---- a/modules/setting/server.go -+++ b/modules/setting/server.go -@@ -319,7 +319,7 @@ func loadServerFrom(rootCfg ConfigProvider) { - OfflineMode = sec.Key("OFFLINE_MODE").MustBool() - Log.DisableRouterLog = sec.Key("DISABLE_ROUTER_LOG").MustBool() - if len(StaticRootPath) == 0 { -- StaticRootPath = AppWorkPath -+ StaticRootPath = "@data@" - } - StaticRootPath = sec.Key("STATIC_ROOT_PATH").MustString(StaticRootPath) - StaticCacheTime = sec.Key("STATIC_CACHE_TIME").MustDuration(6 * time.Hour) |