mirror of
https://github.com/photoprism/photoprism.git
synced 2025-10-30 11:46:36 +08:00
Convert: Set virtual home in cache path for external CLI commands #2262
This commit is contained in:
@@ -38,11 +38,6 @@ func (c *Config) ThumbFilter() thumb.ResampleFilter {
|
||||
}
|
||||
}
|
||||
|
||||
// ThumbPath returns the thumbnail storage directory.
|
||||
func (c *Config) ThumbPath() string {
|
||||
return c.CachePath() + "/thumbnails"
|
||||
}
|
||||
|
||||
// ThumbColor returns the color profile name for thumbnails.
|
||||
func (c *Config) ThumbColor() string {
|
||||
return c.options.ThumbColor
|
||||
|
||||
Reference in New Issue
Block a user