Commit e9b4478
new system-udf to query
create a new system-udf that's a query returning `process.env.CONVEX_CLOUD_URL`. this is currently redundant but will be used once we add canonical custom domains.
It'll be used by the dashboard, which displays the canonical domain and lets you pick a new one.
It will also be used by the CLI, which will set it to `VITE_CONVEX_URL` during deployment.
Put it in a file in `_system/cli/` which indicates it has a higher standard of backwards-compatibility, but also re-export it from `_system/frontend/` to indicate it's used in the dashboard too.
(for review to @jordanhunt22 for canonical urls and @atrakh for system udf placement and naming)
GitOrigin-RevId: a7c278a18e941dac8a6ede9cdeb2936667606becprocess.env.CONVEX_CLOUD_URL (#34464)1 parent e2d1930 commit e9b4478
File tree
3 files changed
+17
-0
lines changed- npm-packages/system-udfs/convex
- _generated
- _system
- cli
- frontend
3 files changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
69 | 71 | | |
70 | 72 | | |
71 | 73 | | |
| 74 | + | |
72 | 75 | | |
73 | 76 | | |
74 | 77 | | |
| |||
80 | 83 | | |
81 | 84 | | |
82 | 85 | | |
| 86 | + | |
83 | 87 | | |
84 | 88 | | |
85 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments