Update host alls
This commit is contained in:
parent
7d6446d25c
commit
69efacf7ea
4
app.py
4
app.py
@ -5,7 +5,7 @@ from forms import ContactForm
|
|||||||
# Flask
|
# Flask
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
app.config['SECRET_KEY'] = 'my secret'
|
app.config['SECRET_KEY'] = 'my secret'
|
||||||
app.config['DEBUG'] = True
|
app.config['DEBUG'] = False
|
||||||
|
|
||||||
# Database
|
# Database
|
||||||
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///book.sqlite'
|
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///book.sqlite'
|
||||||
@ -108,4 +108,4 @@ def contacts_delete():
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
app.run()
|
app.run(host="0.0.0.0")
|
||||||
|
Loading…
Reference in New Issue
Block a user