aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--compose.local.yaml2
-rw-r--r--compose.prod.yaml2
-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
8 files changed, 8 insertions, 8 deletions
diff --git a/compose.local.yaml b/compose.local.yaml
index af48cf4..def7c4a 100644
--- a/compose.local.yaml
+++ b/compose.local.yaml
@@ -3,7 +3,7 @@ services:
build:
context: ./backend
ports:
- - '127.0.0.1:8002:80'
+ - '127.0.0.1:8003:80'
volumes:
- files-data:/data/files:rw
depends_on:
diff --git a/compose.prod.yaml b/compose.prod.yaml
index a3b840c..6738080 100644
--- a/compose.prod.yaml
+++ b/compose.prod.yaml
@@ -2,7 +2,7 @@ services:
reverse-proxy:
image: nginx:1.27
ports:
- - '127.0.0.1:8002:80'
+ - '127.0.0.1:8003:80'
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
- files-data:/var/www/files:ro
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"