- 회원가입 API 연동 (POST /v1/in/auth/signup) - 로그인 API 연동 (POST /v1/in/auth/login, next_action 분기) - 이메일 인증 API 연동 (POST /v1/in/auth/email/verify, /resend) - API 타입 swagger 스펙에 맞게 수정 (ApiResponse, auth types) - User 타입 백엔드 AdminInfo 기반으로 변경 - authStore localStorage 영속화 (새로고침 시 인증 유지) - Vite dev 프록시 설정 (/v1 → devspms) Closes #7 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
22 lines
528 B
TypeScript
22 lines
528 B
TypeScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
import tailwindcss from '@tailwindcss/vite'
|
|
import path from 'path'
|
|
|
|
export default defineConfig({
|
|
plugins: [react(), tailwindcss()],
|
|
resolve: {
|
|
alias: {
|
|
'@': path.resolve(__dirname, './src'),
|
|
},
|
|
},
|
|
server: {
|
|
proxy: {
|
|
'/v1': {
|
|
target: 'https://devspms.ipstein.myds.me',
|
|
changeOrigin: true,
|
|
secure: true,
|
|
},
|
|
},
|
|
},
|
|
}) |