mirror of
https://git.macaw.me/skunky/SkunkyArt.git
synced 2025-04-28 20:15:08 +03:00
Переключатель кеша в озу, небольшие улучшения ксс, фикс нсфв, фикс максимального размера кеша
This commit is contained in:
parent
32c61ec8ea
commit
048bb470ab
7 changed files with 88 additions and 47 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue