diff --git a/WEB/b9ef6f1b-7bc9-47bc-b9d8-2f9d8ad5f48f.png b/WEB/b9ef6f1b-7bc9-47bc-b9d8-2f9d8ad5f48f.png
new file mode 100644
index 0000000..5c29e60
Binary files /dev/null and b/WEB/b9ef6f1b-7bc9-47bc-b9d8-2f9d8ad5f48f.png differ
diff --git a/WEB/index.html b/WEB/index.html
index 8388c4b..47e025f 100644
--- a/WEB/index.html
+++ b/WEB/index.html
@@ -2,9 +2,9 @@
-
+
- Vite + Vue
+ Teamfolio
diff --git a/WEB/vite.config.js b/WEB/vite.config.js
index 02c203c..a3d9354 100644
--- a/WEB/vite.config.js
+++ b/WEB/vite.config.js
@@ -8,5 +8,15 @@ export default defineConfig({
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
+ },
+ server: {
+ proxy: {
+ '/api': {
+ target: 'http://api.numerum.team', // Исходный HTTP эндпоинт API
+ changeOrigin: true, // Меняет заголовок Origin на целевой URL
+ secure: false, // Игнорирует проверку SSL для HTTP (только для разработки)
+ rewrite: (path) => path.replace(/^\/api/, '') // Убирает префикс /api
+ }
+ }
}
})
\ No newline at end of file