Set VITE_API_BASE_URL to empty for proxy-based routing
This commit is contained in:
parent
ead97087ac
commit
761dbddbf9
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ services:
|
|||
- "3000"
|
||||
- "5001"
|
||||
command: >
|
||||
sh -c "sed -i 's/server: {/server: { allowedHosts: true,/' /app/frontend/vite.config.js && npm run dev"
|
||||
sh -c "sed -i 's/server: {/server: { allowedHosts: true,/' /app/frontend/vite.config.js && echo 'VITE_API_BASE_URL=' > /app/frontend/.env && npm run dev"
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./backend/uploads:/app/backend/uploads
|
||||
Loading…
Reference in a new issue