Переключатель кеша в озу, небольшие улучшения ксс, фикс нсфв, фикс максимального размера кеша

This commit is contained in:
lost+skunk 2025-02-22 15:30:29 +03:00
parent 32c61ec8ea
commit 048bb470ab
7 changed files with 88 additions and 47 deletions

View file

@ -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
}