Fix 413 upload limit + add /api/kds/settings to kitchen backend

- nginx client_max_body_size raised to 800m (was 20m) to allow 577MB backup
  upload; proxy_read_timeout raised to 600s for long restore operations
- Add api/kds_settings.py: GET+PATCH /api/kds/settings served by kitchen
  backend (kitchen Settings page configures KDS timers/GraphQL/course order;
  all config lives in kitchen_settings so kitchen owns these endpoints)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jtricerolph 2026-07-12 17:47:28 +00:00
parent 14903e80a6
commit e7e1fda9f6
3 changed files with 141 additions and 3 deletions

View file

@ -16,7 +16,7 @@ from api import (
backup, search, resos, calendar_events, residents_table_chart, disputes,
credit_notes, public, logbook, imap, support, budget, cover_overrides,
purchase_orders, cost_distributions, ingredients, recipes, food_flags,
event_orders, external, menus, reconciliation,
event_orders, external, menus, reconciliation, kds_settings,
)
from api.internal import router as internal_router
@ -191,6 +191,7 @@ app.include_router(food_flags.router, prefix="/api/food-flags", tags=["Food Flag
app.include_router(event_orders.router, prefix="/api/event-orders", tags=["Event Orders"])
app.include_router(menus.router, prefix="/api/menus", tags=["Menus"])
app.include_router(external.router, prefix="/api/external", tags=["External API"])
app.include_router(kds_settings.router, prefix="/api/kds", tags=["KDS Settings"])
app.include_router(internal_router)