From 9b1049e39b2e6e45371930832b421be21297dcb5 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 4 Mar 2025 21:26:39 +0900 Subject: change base path --- frontend/app/.client/audio/SoundEffect.ts | 4 ++-- frontend/app/.server/api/client.ts | 4 ++-- frontend/app/components/GolfPlayApp.client.tsx | 4 ++-- frontend/app/components/GolfWatchApp.client.tsx | 4 ++-- frontend/app/components/UserIcon.tsx | 4 ++-- frontend/app/root.tsx | 2 +- frontend/app/routes/_index.tsx | 2 +- frontend/app/routes/dashboard.tsx | 4 ++-- 8 files changed, 14 insertions(+), 14 deletions(-) (limited to 'frontend/app') diff --git a/frontend/app/.client/audio/SoundEffect.ts b/frontend/app/.client/audio/SoundEffect.ts index fb003fa..99eccdd 100644 --- a/frontend/app/.client/audio/SoundEffect.ts +++ b/frontend/app/.client/audio/SoundEffect.ts @@ -14,8 +14,8 @@ export type SoundEffect = const BASE_URL = process.env.NODE_ENV === "development" - ? `http://localhost:8003/iosdc-japan/2024/code-battle/files/audio` - : `/iosdc-japan/2024/code-battle/files/audio`; + ? `http://localhost:8003/phperkaigi/2025/code-battle/files/audio` + : `/phperkaigi/2025/code-battle/files/audio`; export function getFileUrl(soundEffect: SoundEffect): string { switch (soundEffect) { diff --git a/frontend/app/.server/api/client.ts b/frontend/app/.server/api/client.ts index d69b617..edcffc1 100644 --- a/frontend/app/.server/api/client.ts +++ b/frontend/app/.server/api/client.ts @@ -4,8 +4,8 @@ import type { paths } from "./schema"; const apiClient = createClient({ baseUrl: process.env.NODE_ENV === "development" - ? "http://localhost:8003/iosdc-japan/2024/code-battle/api/" - : "http://api-server/iosdc-japan/2024/code-battle/api/", + ? "http://localhost:8003/phperkaigi/2025/code-battle/api/" + : "http://api-server/phperkaigi/2025/code-battle/api/", }); export async function apiPostLogin( diff --git a/frontend/app/components/GolfPlayApp.client.tsx b/frontend/app/components/GolfPlayApp.client.tsx index 48c2c89..c81fe7e 100644 --- a/frontend/app/components/GolfPlayApp.client.tsx +++ b/frontend/app/components/GolfPlayApp.client.tsx @@ -42,8 +42,8 @@ export default function GolfPlayApp({ }: Props) { const socketUrl = process.env.NODE_ENV === "development" - ? `ws://localhost:8003/iosdc-japan/2024/code-battle/sock/golf/${game.game_id}/play?token=${sockToken}` - : `wss://t.nil.ninja/iosdc-japan/2024/code-battle/sock/golf/${game.game_id}/play?token=${sockToken}`; + ? `ws://localhost:8003/phperkaigi/2025/code-battle/sock/golf/${game.game_id}/play?token=${sockToken}` + : `wss://t.nil.ninja/phperkaigi/2025/code-battle/sock/golf/${game.game_id}/play?token=${sockToken}`; const gameStateKind = useAtomValue(gameStateKindAtom); const setCurrentTimestamp = useSetAtom(setCurrentTimestampAtom); diff --git a/frontend/app/components/GolfWatchApp.client.tsx b/frontend/app/components/GolfWatchApp.client.tsx index 72db9e5..e80a009 100644 --- a/frontend/app/components/GolfWatchApp.client.tsx +++ b/frontend/app/components/GolfWatchApp.client.tsx @@ -33,8 +33,8 @@ export type Props = { export default function GolfWatchApp({ game, sockToken }: Props) { const socketUrl = process.env.NODE_ENV === "development" - ? `ws://localhost:8003/iosdc-japan/2024/code-battle/sock/golf/${game.game_id}/watch?token=${sockToken}` - : `wss://t.nil.ninja/iosdc-japan/2024/code-battle/sock/golf/${game.game_id}/watch?token=${sockToken}`; + ? `ws://localhost:8003/phperkaigi/2025/code-battle/sock/golf/${game.game_id}/watch?token=${sockToken}` + : `wss://t.nil.ninja/phperkaigi/2025/code-battle/sock/golf/${game.game_id}/watch?token=${sockToken}`; const gameStateKind = useAtomValue(gameStateKindAtom); const setCurrentTimestamp = useSetAtom(setCurrentTimestampAtom); diff --git a/frontend/app/components/UserIcon.tsx b/frontend/app/components/UserIcon.tsx index a4ee5e6..e14a571 100644 --- a/frontend/app/components/UserIcon.tsx +++ b/frontend/app/components/UserIcon.tsx @@ -9,8 +9,8 @@ export default function UserIcon({ iconPath, displayName, className }: Props) { {`${displayName} [ - { rel: "icon", href: "/iosdc-japan/2024/code-battle/favicon.svg" }, + { rel: "icon", href: "/phperkaigi/2025/code-battle/favicon.svg" }, ]; export function Layout({ children }: { children: React.ReactNode }) { diff --git a/frontend/app/routes/_index.tsx b/frontend/app/routes/_index.tsx index 808302d..ec4dfcb 100644 --- a/frontend/app/routes/_index.tsx +++ b/frontend/app/routes/_index.tsx @@ -16,7 +16,7 @@ export default function Index() { return (
iOSDC Japan 2024 diff --git a/frontend/app/routes/dashboard.tsx b/frontend/app/routes/dashboard.tsx index 53b32e0..a68d5c5 100644 --- a/frontend/app/routes/dashboard.tsx +++ b/frontend/app/routes/dashboard.tsx @@ -86,8 +86,8 @@ export default function Dashboard() { -- cgit v1.2.3-70-g09d2