Just use "/search" without window.location.origin.

This commit is contained in:
voussoir 2021-06-01 17:51:57 -07:00
parent 049fc794c3
commit ac80d61ab0
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -612,7 +612,7 @@ function build_search_params()
function submit_search()
{
const parameters = build_search_params().toString();
let url = window.location.origin + "/search";
let url = "/search";
if (parameters !== "")
{
url += "?" + parameters.toString();