aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2022-05-06 07:58:17 -0400
committermorpheus65535 <[email protected]>2022-05-06 07:58:17 -0400
commit695edad3dd6eee5fb1176c4c20f433a7a682cc70 (patch)
treeec536ddc74e72eb1ea672c30f2fe6f5f782b0555
parent0bfaf7a36cb433cb91215dd549c9eaa37c95c7fd (diff)
downloadbazarr-695edad3dd6eee5fb1176c4c20f433a7a682cc70.tar.gz
bazarr-695edad3dd6eee5fb1176c4c20f433a7a682cc70.zip
Fixed Bazarr logo on form auth page missing with base_url. #1823
-rw-r--r--frontend/src/pages/Authentication.tsx7
1 files changed, 6 insertions, 1 deletions
diff --git a/frontend/src/pages/Authentication.tsx b/frontend/src/pages/Authentication.tsx
index 085ff6cc1..7139f7b99 100644
--- a/frontend/src/pages/Authentication.tsx
+++ b/frontend/src/pages/Authentication.tsx
@@ -1,5 +1,6 @@
import { useSystem } from "@/apis/hooks";
import { useReduxStore } from "@/modules/redux/hooks/base";
+import { Environment } from "@/utilities";
import { FunctionComponent, useState } from "react";
import { Button, Card, Form, Image, Spinner } from "react-bootstrap";
import { Navigate } from "react-router-dom";
@@ -29,7 +30,11 @@ const Authentication: FunctionComponent = () => {
>
<Card.Body>
<Form.Group className="mb-5 d-flex justify-content-center">
- <Image width="64" height="64" src="/static/logo128.png"></Image>
+ <Image
+ width="64"
+ height="64"
+ src={`${Environment.baseUrl}/static/logo128.png`}
+ ></Image>
</Form.Group>
<Form.Group>
<Form.Control