Fix Schema.org SearchAction metadata

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2020-08-10 18:08:25 +02:00
parent 786c5e7f1d
commit 09c131c33b
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -22,7 +22,7 @@ defmodule Mobilizon.Service.Metadata.Instance do
"url": "#{Endpoint.url()}",
"potentialAction": {
"@type": "SearchAction",
"target": "#{Endpoint.url()}/search/{search_term}",
"target": "#{Endpoint.url()}/search?term={search_term}",
"query-input": "required name=search_term"
}
}</script>