mirror of
https://github.com/cryptoadvance/specter-desktop.git
synced 2026-08-13 12:33:29 +02:00
Slight reorg of tor-related files
This commit is contained in:
parent
5b9d6db3cc
commit
56598d80ea
4 changed files with 3 additions and 3 deletions
|
|
@ -34,7 +34,7 @@ Run the server:
|
|||
|
||||
```
|
||||
cd specter-desktop
|
||||
python3 server.py
|
||||
python3 src/server.py
|
||||
```
|
||||
|
||||
Run the tests (still very limited):
|
||||
|
|
@ -74,4 +74,4 @@ If your Bitcoin Core is using a default data folder the app should detect it aut
|
|||
|
||||
|
||||
## Make Specter Desktop available externally over Tor
|
||||
see: [tor/README.md](tor/README.md)
|
||||
see: [docs/tor.md](docs/tor.md)
|
||||
|
|
|
|||
|
|
@ -499,7 +499,7 @@ if __name__ == '__main__':
|
|||
|
||||
# Note: dotenv doesn't convert bools!
|
||||
if os.getenv('CONNECT_TOR', 'False') == 'True' and os.getenv('TOR_PASSWORD') is not None:
|
||||
from tor import tor_util
|
||||
import tor_util
|
||||
tor_util.run_on_hidden_service(app, port=os.getenv('PORT'), debug=DEBUG, extra_files=extra_files)
|
||||
else:
|
||||
app.run(port=os.getenv('PORT'), debug=DEBUG, extra_files=extra_files)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue