diff options
Diffstat (limited to 'run.py')
-rw-r--r-- | run.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,3 +1,5 @@ +import os + from rpcblockchainexplorer.flaskapp import create_app app = create_app() -app.run(debug=True) +app.run(debug=True, host=os.environ.get('BCE_ADDR','127.0.0.1'), port=int(os.environ.get('BCE_PORT','5000'))) |