summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLASER-Yi <[email protected]>2022-06-18 17:35:33 +0800
committerLASER-Yi <[email protected]>2022-06-18 17:35:33 +0800
commitb724305eb4dc22b469c5c5f2033d89de11b4aeef (patch)
treeb2bdf46fd7c9539d388738db814d7f90666bfb5f
parent4b71b8ae65ac7709b902f6e9efd64dd2be4e5082 (diff)
downloadbazarr-1.0.5-beta.29.tar.gz
bazarr-1.0.5-beta.29.zip
Fix redirect issues after logging in (#1857)v1.0.5-beta.29
-rw-r--r--frontend/src/apis/hooks/system.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/apis/hooks/system.ts b/frontend/src/apis/hooks/system.ts
index 0cd7c3799..96af55849 100644
--- a/frontend/src/apis/hooks/system.ts
+++ b/frontend/src/apis/hooks/system.ts
@@ -186,7 +186,7 @@ export function useSystem() {
{
onSuccess: () => {
// TODO: Hard-coded value
- window.location.replace(`/${Environment.baseUrl}`);
+ window.location.replace(Environment.baseUrl);
},
}
);