Now supports running under a sub path
Just set the SPOOLMAN_BASE_PATH environment variable and it should work. Resolves #95
This commit is contained in:
@@ -5,6 +5,7 @@ import { Version } from "./version";
|
||||
import { Button } from "antd";
|
||||
import Logo from "../icon.svg?react";
|
||||
import { useTranslate } from "@refinedev/core";
|
||||
import { getBasePath } from "../utils/url";
|
||||
|
||||
const SpoolmanFooter: React.FC = () => {
|
||||
const t = useTranslate();
|
||||
@@ -27,7 +28,7 @@ const SpoolmanFooter: React.FC = () => {
|
||||
<Button
|
||||
icon={
|
||||
<img
|
||||
src="/kofi_s_logo_nolabel.png"
|
||||
src={getBasePath() + "/kofi_s_logo_nolabel.png"}
|
||||
style={{
|
||||
height: "1.6em",
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user