mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-29 08:09:55 -04: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue