fix: overflow on homepage and hot reloading
This commit is contained in:
parent
b57d5aceb6
commit
8164409017
@ -7,11 +7,12 @@ from .config import db as db_config
|
|||||||
db = SQLAlchemy()
|
db = SQLAlchemy()
|
||||||
migrate = Migrate()
|
migrate = Migrate()
|
||||||
|
|
||||||
|
|
||||||
def create_app():
|
def create_app():
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
app.config['SECRET_KEY'] = '//'
|
app.config['SECRET_KEY'] = '//'
|
||||||
app.config["SQLALCHEMY_DATABASE_URI"] = db_config.SQL_URI
|
app.config["SQLALCHEMY_DATABASE_URI"] = db_config.SQL_URI
|
||||||
|
app.config['TEMPLATES_AUTO_RELOAD'] = True
|
||||||
|
|
||||||
db.init_app(app)
|
db.init_app(app)
|
||||||
migrate.init_app(app, db)
|
migrate.init_app(app, db)
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html class="is-clipped">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
|
|||||||
Reference in New Issue
Block a user