From 139eb3ac1fac15d01a792ad32c76bd6a9b017369 Mon Sep 17 00:00:00 2001 From: giles Date: Mon, 23 Feb 2026 08:33:20 +0000 Subject: [PATCH] Rename coop_title to market_title, update shared submodule Co-Authored-By: Claude Opus 4.6 --- app.py | 2 +- bp/market/routes.py | 2 +- config/app-config.yaml | 6 +++--- shared | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app.py b/app.py index 518b2ac..e5def05 100644 --- a/app.py +++ b/app.py @@ -93,7 +93,7 @@ def create_app() -> "Quart": app.register_blueprint( register_market_bp( url_prefix="/", - title=config()["coop_title"], + title=config()["market_title"], ), url_prefix="//", ) diff --git a/bp/market/routes.py b/bp/market/routes.py index b590e40..2eefecc 100644 --- a/bp/market/routes.py +++ b/bp/market/routes.py @@ -27,7 +27,7 @@ def register(url_prefix, title): post_data = getattr(g, "post_data", None) or {} return { **post_data, - "coop_title": market.name if market else title, + "market_title": market.name if market else title, "categories": (await get_nav(g.s, market_id=market_id))["cats"], "qs": makeqs_factory()(), "market": market, diff --git a/config/app-config.yaml b/config/app-config.yaml index 278134e..3aa6a76 100644 --- a/config/app-config.yaml +++ b/config/app-config.yaml @@ -3,13 +3,13 @@ base_host: "wholesale.suma.coop" base_login: https://wholesale.suma.coop/customer/account/login/ base_url: https://wholesale.suma.coop/ title: Rose Ash -coop_root: /market -coop_title: Market +market_root: /market +market_title: Market blog_root: / blog_title: all the news cart_root: /cart app_urls: - coop: "http://localhost:8000" + blog: "http://localhost:8000" market: "http://localhost:8001" cart: "http://localhost:8002" events: "http://localhost:8003" diff --git a/shared b/shared index b16ba34..798087d 160000 --- a/shared +++ b/shared @@ -1 +1 @@ -Subproject commit b16ba34b40291a71a546130862acc00959c225fd +Subproject commit 798087de9ab76db40e390825aba2cac2faec9b51