feat : add signin ,signout, forgot password features

This commit is contained in:
ghazall-ag
2025-10-29 22:43:48 +03:30
parent 46a1fae510
commit 5079a5bc56
63 changed files with 2920 additions and 125 deletions

View File

@@ -4,4 +4,20 @@ import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
server: {
proxy: {
'/api': {
target: 'https://khalijpay-core.qaserver.ir',
changeOrigin: true,
secure: false,
configure: (proxy) => {
proxy.on('proxyReq', (proxyReq, req) => {
// Ensure cookies are forwarded for withCredentials
const origin = req.headers.origin;
if (origin) proxyReq.setHeader('origin', origin);
});
},
},
},
},
})