Go to file
kyuuseiryuu de05ca2ecf feat: fallback to auto-login on token failure and improve redirect logic
- In `useAuthHeaders`, import `useAutoLogin` and trigger login if `getAccessToken` returns a falsy value. This handles edge cases where the token is expired or missing during an API call.
- In `useAutoLogin`, set the default redirect URL to `window.location.pathname` to ensure users return to the page they were on before logging in.
2026-03-16 12:51:39 +09:00
__test__ feat(app): split game selector and implement club detail page 2026-03-13 10:27:05 +09:00
.vscode feat(global): find user 2026-02-10 11:11:08 +09:00
prisma feat: migrate user fav system from session aud to Logto sub 2026-03-16 12:45:12 +09:00
src feat: fallback to auto-login on token failure and improve redirect logic 2026-03-16 12:51:39 +09:00
.env.example feat: implement user favorite player system with Logto sync 2026-03-09 10:16:27 +09:00
.gitignore feat: implement user favorite player system with Logto sync 2026-03-09 10:16:27 +09:00
bun-env.d.ts init 2026-01-29 22:00:49 +09:00
bun.lock feat: migrate user fav system from session aud to Logto sub 2026-03-16 12:45:12 +09:00
bunfig.toml init 2026-01-29 22:00:49 +09:00
docker-compose.yml chore(docker): add restart policy for app service 2026-02-10 21:21:11 +09:00
dockerfile feat(likes): sync local favorites and add auto-login flow 2026-03-09 16:51:57 +09:00
package.json feat: migrate user fav system from session aud to Logto sub 2026-03-16 12:45:12 +09:00
prisma.config.ts feat: implement user favorite player system with Logto sync 2026-03-09 10:16:27 +09:00
README.md init 2026-01-29 22:00:49 +09:00
tsconfig.json init 2026-01-29 22:00:49 +09:00

bun-react-template

To install dependencies:

bun install

To start a development server:

bun dev

To run for production:

bun start

This project was created using bun init in bun v1.2.21. Bun is a fast all-in-one JavaScript runtime.