From bf3b2b2f5fdfe4d54226b59ce82378e4a77dc700 Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Thu, 14 Aug 2025 22:31:32 +0900
Subject: feat(backend,frontend): Replace hard-coded base path with environment
 variable

---
 frontend/app/routes/_index.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'frontend/app/routes/_index.tsx')

diff --git a/frontend/app/routes/_index.tsx b/frontend/app/routes/_index.tsx
index ef54c84..9767985 100644
--- a/frontend/app/routes/_index.tsx
+++ b/frontend/app/routes/_index.tsx
@@ -2,6 +2,7 @@ import type { LoaderFunctionArgs, MetaFunction } from "react-router";
 import { ensureUserNotLoggedIn } from "../.server/auth";
 import BorderedContainer from "../components/BorderedContainer";
 import NavigateLink from "../components/NavigateLink";
+import { BASE_PATH } from "../config";
 
 export const meta: MetaFunction = () => [
 	{ title: "PHPerKaigi 2025 Albatross" },
@@ -16,7 +17,7 @@ export default function Index() {
 	return (
 		<div className="min-h-screen bg-sky-600 flex flex-col items-center justify-center gap-y-6">
 			<img
-				src="/phperkaigi/2025/code-battle/logo.svg"
+				src={`${BASE_PATH}logo.svg`}
 				alt="PHPerKaigi 2025"
 				className="w-64 h-64"
 			/>
-- 
cgit v1.3.1

