5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-07-06 15:45:45 +00:00

el origin viene sin /

This commit is contained in:
f 2020-05-04 15:51:20 -03:00
parent b579fd087e
commit 171814f551

View file

@ -47,7 +47,7 @@ module Api
# Comprueba que el mensaje vino fue enviado desde el sitio
def site_is_origin?
return if origin.to_s == site.url
return if site.url.start_with? origin.to_s
render html: body(:site_is_origin), status: status
end