The axios 401 interceptor was redirecting to /login for every 401 response, including failed login attempts. Now it skips the redirect when the request is to /auth/login, letting the LoginView handle the error gracefully. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Vue 3 + TypeScript + Vite
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.
Learn more about the recommended Project Setup and IDE Support in the Vue Docs TypeScript Guide.