You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 24, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: source/environment-variables.md
+9
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,15 @@ See also: [`PORT`](#PORT).
14
14
15
15
> In development, this can be accomplished with `meteor run --port a.b.c.d:port`.
16
16
17
+
## DDP_DEFAULT_CONNECTION_URL
18
+
(_develoment, production_)
19
+
20
+
There are some situations where it is valuable for the meteor client to use a different DDP server than the `ROOT_URL` server.
21
+
22
+
Setting `DDP_DEFAULT_CONNECTION_URL` when running a meteor server (development: `meteor run` or production: `node main.js`) will set the DDP server to the value in `DDP_DEFAULT_CONNECTION_URL`.
23
+
24
+
Setting `DDP_DEFAULT_CONNECTION_URL` when building (`meteor build`) will define the DDP server for `cordova` builds.
0 commit comments