feat(auth): implement registration page and logic

This commit is contained in:
2025-06-17 08:46:35 +03:00
parent df460f57ab
commit c4a1c2cde0
6 changed files with 200 additions and 5 deletions

View File

@@ -1,15 +1,19 @@
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import path from "path";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
server: {
// <-- ДОБАВЬТЕ ЭТОТ БЛОК
proxy: {
// Проксируем все запросы, начинающиеся с /api, /authserver, /sessionserver
"^/api|/authserver|/sessionserver": {
target: "http://localhost:8080", // Адрес вашего локального бэкенда
target: "http://localhost:8080",
changeOrigin: true,
},
},