Skip to content

Commit

Permalink
fix: debug_file 上传会被覆盖
Browse files Browse the repository at this point in the history
  • Loading branch information
icyleaf committed Oct 29, 2020
1 parent 4549204 commit 2d52d8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/uploaders/debug_file_uploader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

class DebugFileUploader < ApplicationUploader
def store_dir
"#{base_store_dir}/debug_files/a#{model.app.id}"
"#{base_store_dir}/debug_files/a#{model.app.id}/d#{model.id}"
end

def extension_white_list
Expand Down

0 comments on commit 2d52d8e

Please sign in to comment.