mirror of
https://github.com/jwinterm/tubbymemes.git
synced 2026-10-17 05:21:28 +02:00
remove more avax from configs/env-example
This commit is contained in:
+1
-5
@@ -2,11 +2,7 @@
|
|||||||
SECRET_KEY=vrBWMR2$nCdPuZ27
|
SECRET_KEY=vrBWMR2$nCdPuZ27
|
||||||
DATA_FOLDER=/opt/tubbymemes/data
|
DATA_FOLDER=/opt/tubbymemes/data
|
||||||
SERVER_NAME=myservername.com
|
SERVER_NAME=myservername.com
|
||||||
AVAX_RPC=https://api.avax.network/ext/bc/C/rpc
|
|
||||||
TESTNET=0
|
|
||||||
WEB3_PROVIDER_URI=https://api.avax.network/ext/bc/C/rpc
|
|
||||||
|
|
||||||
# Test env - delete this line and unused config
|
# Test env - delete this line and unused config
|
||||||
SECRET_KEY=vrBWMR2$nCdPuZ27
|
SECRET_KEY=vrBWMR2$nCdPuZ27
|
||||||
DATA_FOLDER=/opt/tubbymemes/data
|
DATA_FOLDER=/path/to/git/repo + /data
|
||||||
WEB3_PROVIDER_URI=https://api.avax-test.network/ext/bc/C/rpc
|
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -10,7 +10,7 @@ from tubbymemes import config
|
|||||||
|
|
||||||
|
|
||||||
db = SQLAlchemy()
|
db = SQLAlchemy()
|
||||||
w3 = Web3(Web3.HTTPProvider(config.AVAX_RPC))
|
w3 = Web3(Web3.HTTPProvider())
|
||||||
|
|
||||||
|
|
||||||
def setup_db(app: Flask, db: SQLAlchemy = db):
|
def setup_db(app: Flask, db: SQLAlchemy = db):
|
||||||
|
|||||||
Reference in New Issue
Block a user