mirror of
https://0xacab.org/sutty/sutty
synced 2025-02-23 10:31:50 +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
|
# Comprueba que el mensaje vino fue enviado desde el sitio
|
||||||
def site_is_origin?
|
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
|
render html: body(:site_is_origin), status: status
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue