Improve auth, checkout, and API client for real backend.

Wire OTP and cart/catalog to the API with Vite proxy, fix resend/register name persistence, harden order submit errors, and polish OTP and cart footer UI.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-08 11:50:18 +02:00
co-authored by Cursor
parent 38864704f1
commit 72cc6000f1
20 changed files with 1023 additions and 171 deletions
+9
View File
@@ -19,4 +19,13 @@ export default defineConfig({
'@': fileURLToPath(new URL('./src', import.meta.url)),
},
},
server: {
proxy: {
'/server/api': {
target: 'https://parche.montech.ir',
changeOrigin: true,
secure: true,
},
},
},
})