host settings
This commit is contained in:
parent
b5b6902262
commit
1af487770b
1 changed files with 2 additions and 0 deletions
2
app.py
2
app.py
|
|
@ -14,6 +14,8 @@ sink = inputs[-1]
|
||||||
# initialization
|
# initialization
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
app.config['SECRET_KEY'] = 'the quick brown fox jumps over the lazy dog'
|
app.config['SECRET_KEY'] = 'the quick brown fox jumps over the lazy dog'
|
||||||
|
app.config["HOST"] = "0.0.0.0"
|
||||||
|
app.config["PORT"] = 5000
|
||||||
|
|
||||||
class User():
|
class User():
|
||||||
def generate_auth_token(self, expires_in=600):
|
def generate_auth_token(self, expires_in=600):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue