mirror of
https://github.com/neocities/neocities.git
synced 2025-05-28 16:30:06 +02:00
an unfinished start on proper paypal recurring integration
This commit is contained in:
parent
5346b7345e
commit
c4376bc580
15 changed files with 175 additions and 53 deletions
2
app.rb
2
app.rb
|
@ -27,7 +27,7 @@ before do
|
|||
if request.path.match /^\/api\//i
|
||||
@api = true
|
||||
content_type :json
|
||||
elsif request.path.match /^\/stripe_webhook$/
|
||||
elsif request.path.match /^\/webhooks\//
|
||||
# Skips the CSRF check for stripe web hooks
|
||||
else
|
||||
content_type :html, 'charset' => 'utf-8'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue