mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 06:23:34 -07:00
update branch todos
This commit is contained in:
parent
f000dffde2
commit
34a10f375f
1 changed files with 6 additions and 5 deletions
|
@ -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():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue