aboutsummaryrefslogtreecommitdiff
path: root/internal/conf/static.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/conf/static.go')
-rw-r--r--internal/conf/static.go13
1 files changed, 8 insertions, 5 deletions
diff --git a/internal/conf/static.go b/internal/conf/static.go
index 35d1a8f4..ae153ab3 100644
--- a/internal/conf/static.go
+++ b/internal/conf/static.go
@@ -193,11 +193,6 @@ var (
AccessControlAllowOrigin string
}
- // LFS settings
- LFS struct {
- ObjectsPath string
- }
-
// Attachment settings
Attachment struct {
Enabled bool
@@ -417,6 +412,14 @@ type DatabaseOpts struct {
// Database settings
var Database DatabaseOpts
+type LFSOpts struct {
+ Storage string
+ ObjectsPath string
+}
+
+// LFS settings
+var LFS LFSOpts
+
type i18nConf struct {
Langs []string `delim:","`
Names []string `delim:","`