mirror of
https://github.com/stakwork/sphinx-relay.git
synced 2026-08-13 12:33:24 +02:00
no default cache host
This commit is contained in:
parent
d5c4a4ace1
commit
88e8f21fd2
4 changed files with 4 additions and 8 deletions
|
|
@ -26,8 +26,7 @@
|
|||
"proxy_lnd_ip": "127.0.0.1",
|
||||
"proxy_lnd_port": "11111",
|
||||
"proxy_admin_token": "d86hnf8irgbcv093jdns",
|
||||
"boltwall_server": "http://0.0.0.0:8444",
|
||||
"default_cache_host": "localhost:8008"
|
||||
"boltwall_server": "http://0.0.0.0:8444"
|
||||
},
|
||||
"production": {
|
||||
"senza_url": "https://staging.senza.us/api/v2/",
|
||||
|
|
|
|||
3
dist/src/utils/config.js
vendored
3
dist/src/utils/config.js
vendored
|
|
@ -28,7 +28,6 @@ const DEFAULT_LENGTH_DELAY_FOR_TRANSPORT_TOKEN_DB_CLEARING = 1;
|
|||
const DEFAULT_BOLTWALL_SERVER = 'http://host.docker.internal:8444';
|
||||
// const DEFAULT_BOLTWALL_SERVER = 'http://localhost:8444'
|
||||
const DEFAULT_PROXY_HD_KEYS = false;
|
||||
const DEFAULT_CACHE_HOST = 'localhost:8008';
|
||||
function loadConfig() {
|
||||
const logg = ENV.LOGGING || config.logging;
|
||||
const provider = ENV.LIGHTNING_PROVIDER || config.lightning_provider || 'LND';
|
||||
|
|
@ -112,7 +111,7 @@ function loadConfig() {
|
|||
DEFAULT_LENGTH_DELAY_FOR_TRANSPORT_TOKEN_DB_CLEARING,
|
||||
boltwall_server: ENV.BOLTWALL_SERVER || config.boltwall_server || DEFAULT_BOLTWALL_SERVER,
|
||||
proxy_hd_keys: ENV.PROXY_HD_KEYS || config.proxy_hd_keys || DEFAULT_PROXY_HD_KEYS,
|
||||
default_cache_host: ENV.DEFAULT_CACHE_HOST || config.default_cache_host || DEFAULT_CACHE_HOST,
|
||||
default_cache_host: ENV.DEFAULT_CACHE_HOST || config.default_cache_host,
|
||||
};
|
||||
}
|
||||
exports.loadConfig = loadConfig;
|
||||
|
|
|
|||
2
dist/src/utils/config.js.map
vendored
2
dist/src/utils/config.js.map
vendored
File diff suppressed because one or more lines are too long
|
|
@ -34,7 +34,6 @@ const DEFAULT_LENGTH_DELAY_FOR_TRANSPORT_TOKEN_DB_CLEARING = 1
|
|||
const DEFAULT_BOLTWALL_SERVER = 'http://host.docker.internal:8444'
|
||||
// const DEFAULT_BOLTWALL_SERVER = 'http://localhost:8444'
|
||||
const DEFAULT_PROXY_HD_KEYS = false
|
||||
const DEFAULT_CACHE_HOST = 'localhost:8008'
|
||||
|
||||
export function loadConfig() {
|
||||
const logg = ENV.LOGGING || config.logging
|
||||
|
|
@ -140,7 +139,6 @@ export function loadConfig() {
|
|||
ENV.BOLTWALL_SERVER || config.boltwall_server || DEFAULT_BOLTWALL_SERVER,
|
||||
proxy_hd_keys:
|
||||
ENV.PROXY_HD_KEYS || config.proxy_hd_keys || DEFAULT_PROXY_HD_KEYS,
|
||||
default_cache_host:
|
||||
ENV.DEFAULT_CACHE_HOST || config.default_cache_host || DEFAULT_CACHE_HOST,
|
||||
default_cache_host: ENV.DEFAULT_CACHE_HOST || config.default_cache_host,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue