aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend
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
parent64b08a137579215fd5b8822218b4e0f6fa904cfe (diff)
downloadiosdc-japan-2025-albatross-941557cba8dcf2aae9b08e2f61420437f5603b0c.tar.gz
iosdc-japan-2025-albatross-941557cba8dcf2aae9b08e2f61420437f5603b0c.tar.zst
iosdc-japan-2025-albatross-941557cba8dcf2aae9b08e2f61420437f5603b0c.zip
change port
Diffstat (limited to 'frontend')
-rw-r--r--frontend/app/.client/audio/SoundEffect.ts2
-rw-r--r--frontend/app/.server/api/client.ts2
-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
-rw-r--r--frontend/app/routes/dashboard.tsx2
6 files changed, 6 insertions, 6 deletions
diff --git a/frontend/app/.client/audio/SoundEffect.ts b/frontend/app/.client/audio/SoundEffect.ts
index 7e40da6..fb003fa 100644
--- a/frontend/app/.client/audio/SoundEffect.ts
+++ b/frontend/app/.client/audio/SoundEffect.ts
@@ -14,7 +14,7 @@ export type SoundEffect =
const BASE_URL =
process.env.NODE_ENV === "development"
- ? `http://localhost:8002/iosdc-japan/2024/code-battle/files/audio`
+ ? `http://localhost:8003/iosdc-japan/2024/code-battle/files/audio`
: `/iosdc-japan/2024/code-battle/files/audio`;
export function getFileUrl(soundEffect: SoundEffect): string {
diff --git a/frontend/app/.server/api/client.ts b/frontend/app/.server/api/client.ts
index 1c96b7b..d69b617 100644
--- a/frontend/app/.server/api/client.ts
+++ b/frontend/app/.server/api/client.ts
@@ -4,7 +4,7 @@ import type { paths } from "./schema";
const apiClient = createClient<paths>({
baseUrl:
process.env.NODE_ENV === "development"
- ? "http://localhost:8002/iosdc-japan/2024/code-battle/api/"
+ ? "http://localhost:8003/iosdc-japan/2024/code-battle/api/"
: "http://api-server/iosdc-japan/2024/code-battle/api/",
});
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} のアイコン`}
diff --git a/frontend/app/routes/dashboard.tsx b/frontend/app/routes/dashboard.tsx
index 3a50757..53b32e0 100644
--- a/frontend/app/routes/dashboard.tsx
+++ b/frontend/app/routes/dashboard.tsx
@@ -86,7 +86,7 @@ export default function Dashboard() {
<a
href={
process.env.NODE_ENV === "development"
- ? "http://localhost:8002/iosdc-japan/2024/code-battle/admin/dashboard"
+ ? "http://localhost:8003/iosdc-japan/2024/code-battle/admin/dashboard"
: "/iosdc-japan/2024/code-battle/admin/dashboard"
}
className="text-lg text-white bg-pink-600 px-4 py-2 rounded transition duration-300 hover:bg-pink-500 focus:ring focus:ring-pink-400 focus:outline-none"