mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
PERF: place letter avatars inside the tmp folder
this avoids transient recoverable data in our uploads directory
This commit is contained in:
parent
f58d85edea
commit
2344aa2fdd
@ -28,7 +28,7 @@ class LetterAvatar
|
||||
end
|
||||
|
||||
def cache_path
|
||||
"public/uploads/letter_avatars/#{version}"
|
||||
"tmp/letter_avatars/#{version}"
|
||||
end
|
||||
|
||||
def generate(username, size, opts = nil)
|
||||
|
Loading…
Reference in New Issue
Block a user