+4
-1
@@ -62,7 +62,10 @@ export const main = sdk.setupMain(async ({ effects }) => {
|
||||
const spacedEnv = {
|
||||
SPACED_CHAIN,
|
||||
SPACED_DATA_DIR: dataDir,
|
||||
SPACED_RPC_BIND: '127.0.0.1',
|
||||
// Listen on all interfaces so the spaced RPC can be exposed externally via
|
||||
// the "Spaces API" StartOS interface. Internal clients (subs, certrelay,
|
||||
// indexer, space-cli, health checks) still connect over loopback below.
|
||||
SPACED_RPC_BIND: '0.0.0.0',
|
||||
SPACED_RPC_PORT: String(spacedRpcPort),
|
||||
SPACED_RPC_URL: `http://127.0.0.1:${spacedRpcPort}`,
|
||||
SPACED_BLOCK_INDEX: 'true',
|
||||
|
||||
Reference in New Issue
Block a user