Commit 521e0d7
feat: configure studio to use server mode for app-host deployment
- Add .env.production to set VITE_RUNTIME_MODE=server for production builds
- Update .env.example to clarify dev vs production environment variables
- Studio will now connect to app-host API server instead of using MSW when deployed
Agent-Logs-Url: https://github.com/objectstack-ai/framework/sessions/7c42b007-148b-43e2-a418-1cdc3815f3c0
Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>1 parent b62991e commit 521e0d7
2 files changed
Lines changed: 22 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | | - | |
5 | | - | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
0 commit comments