chat: header for bypassing proxy buffering

This commit is contained in:
Kyle Drake 2024-04-01 17:39:57 -05:00
parent 86f40a431d
commit d1d6e3727e

View file

@ -231,6 +231,7 @@ end
post '/site_files/chat' do
require_login
dont_browser_cache
headers 'X-Accel-Buffering' => 'no'
halt(403) unless parent_site.supporter?
# Ensure the request is treated as a stream