diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-13 23:05:37 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-13 23:07:26 +0900 |
| commit | 6c30f383a65cb000d66a85cadc96253ce7061942 (patch) | |
| tree | 60ffe938a4051255ea0d6b35001be50c28b76497 /frontend/app/api | |
| parent | 373dbf12f6797497656565e9baa7ac69e1f005f5 (diff) | |
| download | phperkaigi-2026-albatross-6c30f383a65cb000d66a85cadc96253ce7061942.tar.gz phperkaigi-2026-albatross-6c30f383a65cb000d66a85cadc96253ce7061942.tar.zst phperkaigi-2026-albatross-6c30f383a65cb000d66a85cadc96253ce7061942.zip | |
refactor(frontend): remove React Router remnants from config files
Clean up old React Router references after migration to Vite + Wouter:
- Replace build/ and .react-router/ with dist/ in ESLint globalIgnores
- Replace ./build with ./dist in Biome ignore list
- Remove formComponents and NavLink from ESLint settings
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'frontend/app/api')
| -rw-r--r-- | frontend/app/api/client.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/frontend/app/api/client.ts b/frontend/app/api/client.ts index c26f1c6..86f2506 100644 --- a/frontend/app/api/client.ts +++ b/frontend/app/api/client.ts @@ -3,8 +3,9 @@ import { createContext } from "react"; import { API_BASE_PATH } from "../config"; import type { paths } from "./schema"; -const apiOrigin = import.meta.env.VITE_API_BASE_URL - ?? (import.meta.env.DEV ? "http://localhost:8004" : ""); +const apiOrigin = + import.meta.env.VITE_API_BASE_URL ?? + (import.meta.env.DEV ? "http://localhost:8004" : ""); const client = createClient<paths>({ baseUrl: `${apiOrigin}${API_BASE_PATH}`, |
