mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-18 17:21:33 +00:00
fix: purgeCloudflareCache
regression when ConfigManager was introduced
This commit is contained in:
parent
073bb0e710
commit
3d51fd2e31
@ -679,8 +679,8 @@ self.purgeCloudflareCache = async (names, uploads, thumbs) => {
|
||||
return [{ success: false, files: [], errors }]
|
||||
}
|
||||
|
||||
let domain = self.conf.domain
|
||||
if (!uploads) domain = self.conf.homeDomain
|
||||
let domain = config.domain
|
||||
if (!uploads) domain = config.homeDomain
|
||||
|
||||
const thumbNames = []
|
||||
names = names.map(name => {
|
||||
|
Loading…
Reference in New Issue
Block a user