feat(thumb): generate and return sidecar thumb
This commit is contained in:
@@ -39,13 +39,7 @@ func Init(path string, statics fs.FS) {
|
||||
{
|
||||
"both",
|
||||
func() {
|
||||
cache.Init(conf.SystemConfig.Mode == "slave")
|
||||
},
|
||||
},
|
||||
{
|
||||
"master",
|
||||
func() {
|
||||
model.Init()
|
||||
cache.Init()
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -54,6 +48,18 @@ func Init(path string, statics fs.FS) {
|
||||
model.InitSlaveDefaults()
|
||||
},
|
||||
},
|
||||
{
|
||||
"slave",
|
||||
func() {
|
||||
cache.InitSlaveOverwrites()
|
||||
},
|
||||
},
|
||||
{
|
||||
"master",
|
||||
func() {
|
||||
model.Init()
|
||||
},
|
||||
},
|
||||
{
|
||||
"both",
|
||||
func() {
|
||||
|
||||
Reference in New Issue
Block a user