шлется на реальный сервер (#2)
build-and-deploy / prepare (push) Successful in 0s
build-and-deploy / build-and-push (., Dockerfile, hr-appeals-web) (push) Successful in 8s
Tests / frontend-test (push) Successful in 11s
build-and-deploy / build-and-push (server, server/Dockerfile, hr-appeals-auth) (push) Successful in 4s
build-and-deploy / deploy (push) Successful in 15s

Co-authored-by: Mariya Trishina <trishina.mariya@tnsu.kz>
Reviewed-on: http://git.tnsu.kz/gorbenko.pavel/hr-appeals/pulls/2
This commit was merged in pull request #2.
This commit is contained in:
2026-08-24 08:54:41 +00:00
parent 7f6f42a96b
commit dea024f3a9
23 changed files with 660 additions and 73 deletions
+10 -1
View File
@@ -12,7 +12,16 @@ export default defineConfig({
},
server: {
port: 3000,
open: true
open: true,
// Как nginx в проде (nginx.conf): /api/... идёт на hr-appeals-auth без
// префикса. Локально сервис запускаем на 3100 — порт 3000 занят самим vite.
proxy: {
'/api': {
target: 'http://localhost:3100',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '')
}
}
},
test: {
// globals: true — describe/it/expect доступны без импорта, как привычно по Jest.