You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm getting empty .zip files on Heroku if I include the code:
configure :production do
# Replace Sinatra's send_file with x_send_file
Sinatra::Xsendfile.replace_send_file!
# Set x_send_file header (default: X-SendFile)
set :xsf_header, 'X-Accel-Redirect'
end
Any ideas?
The text was updated successfully, but these errors were encountered:
Hello, I'm getting empty .zip files on Heroku if I include the code:
Any ideas?
The text was updated successfully, but these errors were encountered: