mirror of
https://github.com/neocities/neocities.git
synced 2025-05-15 00:47:16 +02:00
Merge branch 'github-actions' of https://github.com/talklittle/neocities into talklittle-github-actions
This commit is contained in:
commit
e1416fd40f
8 changed files with 49 additions and 19 deletions
|
@ -119,7 +119,7 @@ def flash_display(opts={})
|
|||
end
|
||||
|
||||
def hcaptcha_valid?
|
||||
return true if ENV['RACK_ENV'] == 'test' || ENV['TRAVIS']
|
||||
return true if ENV['RACK_ENV'] == 'test' || ENV['CI']
|
||||
return false unless params[:'h-captcha-response']
|
||||
|
||||
resp = Net::HTTP.get URI(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue