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