diff options
| author | lost+skunk <[email protected]> | 2025-02-22 15:30:29 +0300 |
|---|---|---|
| committer | lost+skunk <[email protected]> | 2025-02-22 15:30:29 +0300 |
| commit | 048bb470ab8dc3adce83d2e615f3ab369efa2199 (patch) | |
| tree | 3b0dc678795aa8713109e0aa74609ab8fd631908 /app/config.go | |
| parent | 32c61ec8ea577fdd37f7d50e1c176273960aa3e0 (diff) | |
| download | skunky-art-048bb470ab8dc3adce83d2e615f3ab369efa2199.tar.gz skunky-art-048bb470ab8dc3adce83d2e615f3ab369efa2199.tar.bz2 skunky-art-048bb470ab8dc3adce83d2e615f3ab369efa2199.zip | |
Переключатель кеша в озу, небольшие улучшения ксс, фикс нсфв, фикс максимального размера кеша
Diffstat (limited to 'app/config.go')
| -rw-r--r-- | app/config.go | 7 |
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 } |
