mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
arbitrary utf setting to see if it helps the weird problem
This commit is contained in:
parent
8ab36b0e17
commit
3048dc5f19
1 changed files with 1 additions and 0 deletions
1
app.rb
1
app.rb
|
@ -9,6 +9,7 @@ use Rack::Recaptcha, public_key: $config['recaptcha_public_key'], private_key: $
|
|||
helpers Rack::Recaptcha::Helpers
|
||||
|
||||
before do
|
||||
content_type :html, 'charset' => 'utf-8'
|
||||
redirect '/' if request.post? && !csrf_safe?
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue