mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-25 14:08:07 +00:00
Use local IP address for Caravan suggestion
This commit is contained in:
parent
64d7ecc732
commit
8dc3be155e
|
@ -2,6 +2,7 @@
|
|||
from flask import Blueprint, render_template, redirect
|
||||
from settings import read_ui_settings
|
||||
from user_management import check_logged_in
|
||||
from device_info import *
|
||||
import subprocess
|
||||
import re
|
||||
import os
|
||||
|
@ -17,6 +18,7 @@ def caravan_page():
|
|||
# Load page
|
||||
templateData = {
|
||||
"title": "myNode Caravan",
|
||||
"local_ip": get_local_ip(),
|
||||
"ui_settings": read_ui_settings()
|
||||
}
|
||||
return render_template('caravan.html', **templateData)
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
<li>Change the Public/Private option to Private</li>
|
||||
<li>Change the URL to your node's IP address hostname with port 8334. For example:</li>
|
||||
<ul>
|
||||
<li>https://192.168.1.101:8334</li>
|
||||
<li>https://{{local_ip}}:8334</li>
|
||||
<li>https://mynode.local:8334</li>
|
||||
</ul>
|
||||
<li>Change the Username to "mynode"</li>
|
||||
|
|
Loading…
Reference in New Issue
Block a user