Just use "/search" without window.location.origin.
This commit is contained in:
parent
049fc794c3
commit
ac80d61ab0
1 changed files with 1 additions and 1 deletions
|
@ -612,7 +612,7 @@ function build_search_params()
|
||||||
function submit_search()
|
function submit_search()
|
||||||
{
|
{
|
||||||
const parameters = build_search_params().toString();
|
const parameters = build_search_params().toString();
|
||||||
let url = window.location.origin + "/search";
|
let url = "/search";
|
||||||
if (parameters !== "")
|
if (parameters !== "")
|
||||||
{
|
{
|
||||||
url += "?" + parameters.toString();
|
url += "?" + parameters.toString();
|
||||||
|
|
Loading…
Reference in a new issue