mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
chat: header for bypassing proxy buffering
This commit is contained in:
parent
86f40a431d
commit
d1d6e3727e
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue