mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 22:43:34 -07:00
db init hotfix
This commit is contained in:
parent
a76f472aa4
commit
c6403a7998
2 changed files with 1 additions and 3 deletions
|
@ -15,7 +15,6 @@ from routes import (
|
||||||
)
|
)
|
||||||
from utils.api_docs import generate_api_docs
|
from utils.api_docs import generate_api_docs
|
||||||
from utils.logger import logger
|
from utils.logger import logger
|
||||||
from utils.startup import post_start
|
|
||||||
|
|
||||||
app = FastAPI(
|
app = FastAPI(
|
||||||
title="Mealie",
|
title="Mealie",
|
||||||
|
@ -53,7 +52,6 @@ def invalid_api():
|
||||||
|
|
||||||
app.include_router(static_routes.router)
|
app.include_router(static_routes.router)
|
||||||
|
|
||||||
# post_start()
|
|
||||||
|
|
||||||
# Generate API Documentation
|
# Generate API Documentation
|
||||||
if not PRODUCTION:
|
if not PRODUCTION:
|
||||||
|
|
|
@ -140,4 +140,4 @@ def default_settings_init():
|
||||||
|
|
||||||
if not sql_exists:
|
if not sql_exists:
|
||||||
default_settings_init()
|
default_settings_init()
|
||||||
default_theme_init
|
default_theme_init()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue