summaryrefslogtreecommitdiff
path: root/app/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/config.go')
-rw-r--r--app/config.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/config.go b/app/config.go
index 2ba39a9..813453c 100644
--- a/app/config.go
+++ b/app/config.go
@@ -12,12 +12,13 @@ import (
)
var Release struct {
- Version string
+ Version string
Description string
}
type cache_config struct {
Enabled bool
+ MemCache bool `json:"memcache"`
Path string
MaxSize int64 `json:"max-size"`
Lifetime string
@@ -93,9 +94,9 @@ func ExecuteConfig() {
About = instanceAbout{
Proxy: CFG.Proxy,
- Nsfw: CFG.Nsfw,
+ Nsfw: CFG.Nsfw,
}
-
+
static.StaticPath = CFG.StaticPath
devianter.UserAgent = CFG.UserAgent
}