10 lines
663 B
Plaintext
10 lines
663 B
Plaintext
# Staging: the app is served by the same IIS host as the staging backend (http://192.168.6.46/OmanTCS_stg),
|
|
# at /mams/, exactly like the first deployment. The browser sees one origin, so the session cookie works.
|
|
# npm run dev:staging dev server, backend proxied from 192.168.6.46
|
|
# npm run build:staging writes dist-staging/ (copy its contents to C:\inetpub\wwwroot\mams\ on 192.168.6.46)
|
|
# npm run start:staging builds, then serves it on http://127.0.0.1:4173/mams/ with the backend proxied
|
|
VITE_BASE=/mams/
|
|
VITE_API_BASE=/OmanTCS_stg
|
|
# only used by the dev / preview proxy, never baked into the build
|
|
VITE_BACKEND_ORIGIN=http://192.168.6.46
|