Fixed generated .ini config

Fixed generated .ini config
This commit is contained in:
Shahana Farooqui 2020-01-18 10:08:34 -05:00
parent 3a39dc7b86
commit cf8e31c5f4
6 changed files with 22 additions and 35 deletions

View File

@ -12,5 +12,5 @@
<link rel="stylesheet" href="styles.90ee7bcb73e8367b2a29.css"></head>
<body>
<rtl-app></rtl-app>
<script src="runtime.381542d227df565e3542.js" defer></script><script src="polyfills-es5.2f0940c78d869b1e146b.js" nomodule defer></script><script src="polyfills.f1c3d2a0bcdfc4e93ca8.js" defer></script><script src="main.1cd2fd1ee376a61a6116.js" defer></script></body>
<script src="runtime.381542d227df565e3542.js" defer></script><script src="polyfills-es5.37b2eeccc22c1df73ce7.js" nomodule defer></script><script src="polyfills.f1c3d2a0bcdfc4e93ca8.js" defer></script><script src="main.2881f7333c1176eec0b8.js" defer></script></body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -41,40 +41,27 @@ connect.setDefaultConfig = () => {
break;
}
return {
port: "3000",
defaultNodeIndex: 1,
multiPass: "password",
SSO: {
rtlSSO: 0,
rtlCookiePath: "",
logoutRedirectLink: ""
},
nodes: [
{
index: 1,
lnNode: "LND Testnet",
lnImplementation: "LND",
Authentication: {
macaroonPath: macaroonPath,
configPath: configPath,
},
Settings: {
userPersona: 'OPERATOR',
flgSidenavOpened: true,
flgSidenavPinned: true,
menu: "VERTICAL",
menuType: "REGULAR",
fontSize: "MEDIUM",
themeMode: "DAY",
themeColor: "PURPLE",
satsToBTC: false,
channelBackupPath: channelBackupPath,
enableLogging: "true",
lndServerUrl: "https://localhost:8080/v1",
fiatConversion: false
}
}
]
Authentication: {
macaroonPath: macaroonPath,
configPath: configPath,
nodeAuthType:"CUSTOM",
rtlPass:"password"
},
Settings: {
port: "3000",
lnImplementation: "LND",
userPersona: 'MERCHANT',
themeMode: "DAY",
themeColor: "PURPLE",
enableLogging: false,
lnServerUrl: "https://localhost:8080/v1",
fiatConversion: false
}
};
}
@ -178,8 +165,8 @@ connect.validateSingleNodeConfig = (config) => {
} else {
if(config.Authentication.lndConfigPath !== '' && config.Authentication.lndConfigPath) {
common.nodes[0].config_path = config.Authentication.lndConfigPath;
} else if(config.Authentication.ConfigPath !== '' && config.Authentication.ConfigPath) {
common.nodes[0].config_path = config.Authentication.ConfigPath;
} else if(config.Authentication.configPath && config.Authentication.configPath.trim() !== '') {
common.nodes[0].config_path = config.Authentication.configPath;
} else {
if(upperCase(common.node_auth_type) === 'DEFAULT') {
errMsg = errMsg + '\nDefault Node Authentication can be set with LND Config Path only. Please set LND Config Path through environment or RTL.conf!';

View File

@ -1 +1 @@
export const VERSION = '0.6.1-beta';
export const VERSION = '0.6.2-beta';