mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-03 00:54:08 -05:00
update branch todos
This commit is contained in:
@@ -30,6 +30,8 @@ TODO:
|
||||
- [x] Category Endpoints
|
||||
- [ ] Endpoint Tests
|
||||
- [ ] Finish Frontend Category Management
|
||||
- [ ] Delete Category / Tags
|
||||
- [ ] Sort Sidebar A-Z
|
||||
- [ ] Ingredient Drag-Drop / Reorder
|
||||
- [ ] Refactor Endpoints
|
||||
|
||||
@@ -48,6 +50,10 @@ def mount_static_files():
|
||||
app.mount("/static", StaticFiles(directory=WEB_PATH, html=True))
|
||||
|
||||
|
||||
def start_scheduler():
|
||||
import services.scheduler.scheduled_jobs
|
||||
|
||||
|
||||
def api_routers():
|
||||
# Recipes
|
||||
app.include_router(all_recipe_routes.router)
|
||||
@@ -71,11 +77,6 @@ if PRODUCTION:
|
||||
|
||||
api_routers()
|
||||
|
||||
|
||||
def start_scheduler():
|
||||
import services.scheduler.scheduled_jobs
|
||||
|
||||
|
||||
# API 404 Catch all CALL AFTER ROUTERS
|
||||
@app.get("/api/{full_path:path}", status_code=404, include_in_schema=False)
|
||||
def invalid_api():
|
||||
|
||||
Reference in New Issue
Block a user