diff --git a/FireWalletBrowser.bsdesign b/FireWalletBrowser.bsdesign index a5780ec..1c85c38 100644 Binary files a/FireWalletBrowser.bsdesign and b/FireWalletBrowser.bsdesign differ diff --git a/main.py b/main.py index aa5fc9b..8b74976 100644 --- a/main.py +++ b/main.py @@ -1221,6 +1221,18 @@ def settings_action(action): return render_template("message.html", account=account, title="Restarting", content="The node is restarting. This may take a minute or two. You can close this window.") + + if action == "api-info": + content = f"API URL: http://{account_module.HSD_IP}:{account_module.HSD_NODE_PORT}
" + content += f"Wallet URL: http://{account_module.HSD_IP}:{account_module.HSD_WALLET_PORT}
" + content += f"API Key: {account_module.HSD_API}

" + + + + return render_template("message.html", account=account, + title="API Information", + content=content) + return redirect("/settings?error=Invalid action") diff --git a/templates/settings.html b/templates/settings.html index eb4b7f7..29c8af0 100644 --- a/templates/settings.html +++ b/templates/settings.html @@ -85,6 +85,12 @@

Delete unconfirmed transactions

This will only remove pending tx from the wallet older than 20 minutes (~ 2 blocks) +
  • +
    API Info +

    View API Information

    View information about the connected HSD node's API +
    +
  • + {% if internal %}
  • Restart Node