mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 06:31:44 +00:00
el origin viene sin /
This commit is contained in:
parent
b579fd087e
commit
171814f551
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue