pre
This commit is contained in:
+4
-1
@@ -5,6 +5,7 @@ import { sdk } from './sdk'
|
||||
import {
|
||||
dataDir,
|
||||
DEFAULT_OPERATOR_RELAY,
|
||||
DEFAULT_PLATFORM_CALLBACK_HOST,
|
||||
DEFAULT_PLATFORM_MODE,
|
||||
SPACED_RPC_URL,
|
||||
SPACED_WALLETLOAD_NAME,
|
||||
@@ -110,8 +111,10 @@ export const main = sdk.setupMain(async ({ effects }) => {
|
||||
if (store.subsUrl) env.SUBS_URI_VALUE = store.subsUrl
|
||||
if (store.subsUser) env.SUBS_RPC_USER = store.subsUser
|
||||
if (store.subsPassword) env.SUBS_RPC_PASSWORD = store.subsPassword
|
||||
env.PLATFORM_CALLBACK_HOST =
|
||||
store.platformCallbackHost ?? DEFAULT_PLATFORM_CALLBACK_HOST
|
||||
|
||||
// v1.0.1's entrypoint sources setup-spacesops-env.sh with set -u. That file
|
||||
// v1.0.3's entrypoint sources setup-spacesops-env.sh with set -u. That file
|
||||
// exports NODE_EXTRA_CA_CERTS using ${_SCRIPT_DIR}, but _SCRIPT_DIR is set on
|
||||
// a separate non-export line the entrypoint never evals — startup crashes
|
||||
// unless NODE_EXTRA_CA_CERTS is already set. Fetch the StartOS root CA for
|
||||
|
||||
Reference in New Issue
Block a user