aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'frontend')
-rw-r--r--frontend/app/api/client.ts2
-rw-r--r--frontend/app/components/UserIcon.tsx2
-rw-r--r--frontend/app/pages/DashboardPage.tsx2
3 files changed, 3 insertions, 3 deletions
diff --git a/frontend/app/api/client.ts b/frontend/app/api/client.ts
index db5f8c8..acc1ee9 100644
--- a/frontend/app/api/client.ts
+++ b/frontend/app/api/client.ts
@@ -5,7 +5,7 @@ import type { paths } from "./schema";
const apiOrigin =
import.meta.env.VITE_API_BASE_URL ??
- (import.meta.env.DEV ? "http://localhost:8004" : "");
+ (import.meta.env.DEV ? "http://localhost:8007" : "");
const client = createClient<paths>({
baseUrl: `${apiOrigin}${API_BASE_PATH}`,
diff --git a/frontend/app/components/UserIcon.tsx b/frontend/app/components/UserIcon.tsx
index 2d17560..b2750dd 100644
--- a/frontend/app/components/UserIcon.tsx
+++ b/frontend/app/components/UserIcon.tsx
@@ -11,7 +11,7 @@ export default function UserIcon({ iconPath, displayName, className }: Props) {
<img
src={
process.env.NODE_ENV === "development"
- ? `http://localhost:8004${BASE_PATH}${iconPath}`
+ ? `http://localhost:8007${BASE_PATH}${iconPath}`
: `${BASE_PATH}${iconPath}`
}
alt={`${displayName} のアイコン`}
diff --git a/frontend/app/pages/DashboardPage.tsx b/frontend/app/pages/DashboardPage.tsx
index 92c0f04..7801739 100644
--- a/frontend/app/pages/DashboardPage.tsx
+++ b/frontend/app/pages/DashboardPage.tsx
@@ -114,7 +114,7 @@ export default function DashboardPage() {
<a
href={
import.meta.env.DEV
- ? `http://localhost:8004${BASE_PATH}admin/dashboard`
+ ? `http://localhost:8007${BASE_PATH}admin/dashboard`
: `${BASE_PATH}admin/dashboard`
}
className="text-lg text-white bg-sky-600 px-4 py-2 rounded-sm transition duration-300 hover:bg-sky-500 focus:ring-3 focus:ring-sky-400 focus:outline-hidden"