aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-03-04 21:26:39 +0900
committernsfisis <nsfisis@gmail.com>2025-03-04 21:26:39 +0900
commit9b1049e39b2e6e45371930832b421be21297dcb5 (patch)
treecf5bdc58c4ed41ad52ad4b20ab1d606fadbf8b31 /frontend/app/components
parent3f73872865263e8690e12f4b43040ed38b062f28 (diff)
downloadphperkaigi-2025-albatross-9b1049e39b2e6e45371930832b421be21297dcb5.tar.gz
phperkaigi-2025-albatross-9b1049e39b2e6e45371930832b421be21297dcb5.tar.zst
phperkaigi-2025-albatross-9b1049e39b2e6e45371930832b421be21297dcb5.zip
change base path
Diffstat (limited to 'frontend/app/components')
-rw-r--r--frontend/app/components/GolfPlayApp.client.tsx4
-rw-r--r--frontend/app/components/GolfWatchApp.client.tsx4
-rw-r--r--frontend/app/components/UserIcon.tsx4
3 files changed, 6 insertions, 6 deletions
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) {
<img
src={
process.env.NODE_ENV === "development"
- ? `http://localhost:8003/iosdc-japan/2024/code-battle${iconPath}`
- : `/iosdc-japan/2024/code-battle${iconPath}`
+ ? `http://localhost:8003/phperkaigi/2025/code-battle${iconPath}`
+ : `/phperkaigi/2025/code-battle${iconPath}`
}
alt={`${displayName} のアイコン`}
className={`rounded-full border-4 border-white ${className}`}