aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-03-04 21:22:14 +0900
committernsfisis <nsfisis@gmail.com>2025-03-04 21:22:14 +0900
commit941557cba8dcf2aae9b08e2f61420437f5603b0c (patch)
tree2f91e99b8ff4e5103efb8a7c28d4f458576abf3c /frontend/app/components
parent64b08a137579215fd5b8822218b4e0f6fa904cfe (diff)
downloadphperkaigi-2025-albatross-941557cba8dcf2aae9b08e2f61420437f5603b0c.tar.gz
phperkaigi-2025-albatross-941557cba8dcf2aae9b08e2f61420437f5603b0c.tar.zst
phperkaigi-2025-albatross-941557cba8dcf2aae9b08e2f61420437f5603b0c.zip
change port
Diffstat (limited to 'frontend/app/components')
-rw-r--r--frontend/app/components/GolfPlayApp.client.tsx2
-rw-r--r--frontend/app/components/GolfWatchApp.client.tsx2
-rw-r--r--frontend/app/components/UserIcon.tsx2
3 files changed, 3 insertions, 3 deletions
diff --git a/frontend/app/components/GolfPlayApp.client.tsx b/frontend/app/components/GolfPlayApp.client.tsx
index 4bd464b..48c2c89 100644
--- a/frontend/app/components/GolfPlayApp.client.tsx
+++ b/frontend/app/components/GolfPlayApp.client.tsx
@@ -42,7 +42,7 @@ export default function GolfPlayApp({
}: Props) {
const socketUrl =
process.env.NODE_ENV === "development"
- ? `ws://localhost:8002/iosdc-japan/2024/code-battle/sock/golf/${game.game_id}/play?token=${sockToken}`
+ ? `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}`;
const gameStateKind = useAtomValue(gameStateKindAtom);
diff --git a/frontend/app/components/GolfWatchApp.client.tsx b/frontend/app/components/GolfWatchApp.client.tsx
index f02bfb9..72db9e5 100644
--- a/frontend/app/components/GolfWatchApp.client.tsx
+++ b/frontend/app/components/GolfWatchApp.client.tsx
@@ -33,7 +33,7 @@ export type Props = {
export default function GolfWatchApp({ game, sockToken }: Props) {
const socketUrl =
process.env.NODE_ENV === "development"
- ? `ws://localhost:8002/iosdc-japan/2024/code-battle/sock/golf/${game.game_id}/watch?token=${sockToken}`
+ ? `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}`;
const gameStateKind = useAtomValue(gameStateKindAtom);
diff --git a/frontend/app/components/UserIcon.tsx b/frontend/app/components/UserIcon.tsx
index 656c170..a4ee5e6 100644
--- a/frontend/app/components/UserIcon.tsx
+++ b/frontend/app/components/UserIcon.tsx
@@ -9,7 +9,7 @@ export default function UserIcon({ iconPath, displayName, className }: Props) {
<img
src={
process.env.NODE_ENV === "development"
- ? `http://localhost:8002/iosdc-japan/2024/code-battle${iconPath}`
+ ? `http://localhost:8003/iosdc-japan/2024/code-battle${iconPath}`
: `/iosdc-japan/2024/code-battle${iconPath}`
}
alt={`${displayName} のアイコン`}