Fixed Bazarr logo on form auth page missing with base_url. #1823

pull/1831/head
morpheus65535 3 years ago
parent 0bfaf7a36c
commit 695edad3dd

@ -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

Loading…
Cancel
Save