From 09c131c33bc8997aae3ceda3b185a9f322f0a8a2 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Mon, 10 Aug 2020 18:08:25 +0200 Subject: [PATCH] Fix Schema.org SearchAction metadata Signed-off-by: Thomas Citharel --- lib/service/metadata/instance.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/service/metadata/instance.ex b/lib/service/metadata/instance.ex index 66646463..aef15f86 100644 --- a/lib/service/metadata/instance.ex +++ b/lib/service/metadata/instance.ex @@ -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" } }