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

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`));
}
};
}