mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2025-02-22 14:22:48 +01:00
Fixed Issue #38 and other bug fixes
This commit is contained in:
parent
92dda45987
commit
46c5c7c32b
9 changed files with 14 additions and 8 deletions
|
@ -23,6 +23,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|||
SOFTWARE.
|
||||
|
||||
|
||||
@angular/router
|
||||
MIT
|
||||
|
||||
hammerjs
|
||||
MIT
|
||||
The MIT License (MIT)
|
||||
|
@ -428,9 +431,6 @@ MIT
|
|||
|
||||
@angular/material/form-field
|
||||
|
||||
@angular/router
|
||||
MIT
|
||||
|
||||
@angular/material/progress-bar
|
||||
|
||||
@angular/material/list
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
<title>RTL</title>
|
||||
<base href="/rtl/"> <meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="icon" type="image/x-icon" href="assets/images/favicon.ico">
|
||||
<link rel="stylesheet" href="styles.6acb6bfec10bb1e126bd.css"></head>
|
||||
<link rel="stylesheet" href="styles.9aca8d6b42ca1c4e593e.css"></head>
|
||||
<body>
|
||||
<rtl-app></rtl-app>
|
||||
<script type="text/javascript" src="runtime.ec2944dd8b20ec099bf3.js"></script><script type="text/javascript" src="polyfills.418928a701f2040ada02.js"></script><script type="text/javascript" src="main.82502700f321b0fde2e0.js"></script></body>
|
||||
<script type="text/javascript" src="runtime.ec2944dd8b20ec099bf3.js"></script><script type="text/javascript" src="polyfills.418928a701f2040ada02.js"></script><script type="text/javascript" src="main.5c336b8d89784eec458e.js"></script></body>
|
||||
</html>
|
||||
|
|
1
angular/main.5c336b8d89784eec458e.js
Normal file
1
angular/main.5c336b8d89784eec458e.js
Normal file
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
1
angular/styles.9aca8d6b42ca1c4e593e.css
Normal file
1
angular/styles.9aca8d6b42ca1c4e593e.css
Normal file
File diff suppressed because one or more lines are too long
|
@ -70,6 +70,9 @@ exports.getConfig = (req, res, next) => {
|
|||
});
|
||||
} else {
|
||||
const jsonConfig = ini.parse(data);
|
||||
if (undefined !== jsonConfig.Authentication && undefined !== jsonConfig.Authentication.rtlPass) {
|
||||
jsonConfig.Authentication.rtlPass = jsonConfig.Authentication.rtlPass.replace(/./g, '*');
|
||||
}
|
||||
if (undefined !== jsonConfig.Bitcoind && undefined !== jsonConfig.Bitcoind['bitcoind.rpcpass']) {
|
||||
jsonConfig.Bitcoind['bitcoind.rpcpass'] = jsonConfig.Bitcoind['bitcoind.rpcpass'].replace(/./g, '*');
|
||||
}
|
||||
|
|
|
@ -27,6 +27,9 @@ exports.getPeers = (req, res, next) =>
|
|||
return getAliasForPeers(peer);
|
||||
}))
|
||||
.then(function(values) {
|
||||
if (undefined !== body.peers) {
|
||||
body.peers = common.sortDescByKey(body.peers, 'alias');
|
||||
}
|
||||
logger.info('\r\nPeers: 29: ' + JSON.stringify(Date.now()) + ': INFO: Peers with Alias: ' + JSON.stringify(body));
|
||||
res.status(200).json(body.peers);
|
||||
});
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"license": "MIT",
|
||||
"scripts": {
|
||||
"ng": "ng",
|
||||
"start": "ng build --prod && ng serve",
|
||||
"start": "ng build --prod --base-href /rtl/ && ng serve",
|
||||
"serve": "ng serve",
|
||||
"prebuild": "node ./prebuild",
|
||||
"build": "ng build --prod --base-href /rtl/",
|
||||
|
|
Loading…
Add table
Reference in a new issue