Browse Source

Update get_file

pull/2691/head
Kat 2 years ago
parent
commit
8bb4b9dd55
  1. 2
      app/services/storage/local_disk_service.rb

2
app/services/storage/local_disk_service.rb

@ -10,7 +10,7 @@ module Storage
def get_file(filename)
path = Rails.root.join("tmp/storage", filename)
File.open(path, "r")
File.open(path, "r").read
end
def get_file_io(filename)

Loading…
Cancel
Save