mirror of
https://github.com/lalanza808/monero.fail.git
synced 2025-08-19 23:27:52 -04:00
split resources out
This commit is contained in:
parent
726d2766e8
commit
2fb28e90fb
16 changed files with 532 additions and 481 deletions
|
@ -1,14 +1,15 @@
|
|||
import os
|
||||
from os import environ
|
||||
from secrets import token_urlsafe
|
||||
|
||||
from dotenv import load_dotenv
|
||||
|
||||
load_dotenv()
|
||||
|
||||
SECRET_KEY = os.environ.get('SECRET_KEY', token_urlsafe(14))
|
||||
SERVER_NAME = os.environ.get('SERVER_NAME', '127.0.0.1:5000')
|
||||
DATA_DIR = os.environ.get('DATA_DIR', './data')
|
||||
TOR_HOST = os.environ.get('TOR_HOST', '127.0.0.1')
|
||||
TOR_PORT = os.environ.get('TOR_PORT', 9050)
|
||||
NODE_HOST = os.environ.get('NODE_HOST', 'singapore.node.xmr.pm')
|
||||
NODE_PORT = os.environ.get('NODE_PORT', 18080)
|
||||
SECRET_KEY = environ.get("SECRET_KEY", token_urlsafe(14))
|
||||
SERVER_NAME = environ.get("SERVER_NAME", "127.0.0.1:5000")
|
||||
DATA_DIR = environ.get("DATA_DIR", "./data")
|
||||
TOR_HOST = environ.get("TOR_HOST", "127.0.0.1")
|
||||
TOR_PORT = environ.get("TOR_PORT", 9050)
|
||||
NODE_HOST = environ.get("NODE_HOST", "singapore.node.xmr.pm")
|
||||
NODE_PORT = environ.get("NODE_PORT", 18080)
|
||||
HEALTHY_BLOCK_DIFF = int(environ.get("HEALTHY_BLOCK_DIFF", 500))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue