aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/root.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/app/root.tsx')
-rw-r--r--frontend/app/root.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/app/root.tsx b/frontend/app/root.tsx
index f1b5c54..7d08061 100644
--- a/frontend/app/root.tsx
+++ b/frontend/app/root.tsx
@@ -4,11 +4,12 @@ import type { LinksFunction } from "react-router";
import { Links, Meta, Outlet, Scripts, ScrollRestoration } from "react-router";
import "./tailwind.css";
import "./shiki.css";
+import { BASE_PATH } from "./config";
config.autoAddCss = false;
export const links: LinksFunction = () => [
- { rel: "icon", href: "/phperkaigi/2025/code-battle/favicon.svg" },
+ { rel: "icon", href: `${BASE_PATH}code-battle/favicon.svg` },
];
export function Layout({ children }: { children: React.ReactNode }) {