mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-02 16:44:05 -05:00
db init hotfix
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user