Версия 0.2.1. Исправлен vite.config.ts для того, чтобы работало в Docker.
This commit is contained in:
parent
b18e0d847e
commit
a05a0af6c1
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "lawn-mowing-scheduler",
|
||||
"private": true,
|
||||
"version": "0.2.0",
|
||||
"version": "0.2.1",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "concurrently \"npm run server\" \"npm run client\"",
|
||||
|
@ -8,6 +8,7 @@ export default defineConfig({
|
||||
exclude: ['lucide-react'],
|
||||
},
|
||||
server: {
|
||||
host: true, // <-- добавлено: позволяет Vite принимать запросы извне (из Nginx)
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://localhost:3001',
|
||||
|
Loading…
x
Reference in New Issue
Block a user