Commit 4cbc64e
committed
Dev: make mapbox config items optional
To make development against a local bikehopper-web-app easier, this
makes mapboxStyleUrl in the API-returned config completely optional in
dev mode, and makes both mapboxStyleUrl and mapboxAccessToken optional
if values are defined in env vars provided to bikehopper-ui.
(This will become moot after the mergening)1 parent 74cce3b commit 4cbc64e
1 file changed
Lines changed: 18 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
62 | 78 | | |
63 | 79 | | |
64 | 80 | | |
| |||
85 | 101 | | |
86 | 102 | | |
87 | 103 | | |
88 | | - | |
89 | | - | |
| 104 | + | |
| 105 | + | |
90 | 106 | | |
91 | 107 | | |
92 | 108 | | |
| |||
0 commit comments