Fixed: Header search redirects incorrectly with urlbase

This commit is contained in:
Qstick 2021-04-22 07:41:14 -04:00 committed by GitHub
parent a15f425eb5
commit f201db5cd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,7 +61,7 @@ function createMapDispatchToProps(dispatch, props) {
return {
onGoToAddNewMovie(query) {
dispatch(setSearchDefault({ searchQuery: query, searchIndexerIds: [-1, -2] }));
dispatch(push(`${window.Prowlarr.urlBase}search`));
dispatch(push(`${window.Prowlarr.urlBase}/search`));
}
};
}