chore: запуск auth-сервиса локально одной командой
npm run dev читает server/.env через --env-file (нативно в Node 20+), чтобы не передавать GRAPH_* руками при каждом старте. Без запущенного сервиса на 3100 vite-прокси отдаёт 500, что легко принять за баг формы. .env добавлен в .gitignore, в репозиторий положен только .env.example. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"start": "node dist/index.js",
|
||||
"dev": "tsc && node --env-file=.env dist/index.js",
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user