Merge "pecan: Drop redundant force_canonical"

This commit is contained in:
Zuul
2026-05-13 03:53:23 +00:00
committed by Gerrit Code Review
-1
View File
@@ -95,7 +95,6 @@ def setup_app(pecan_config=None, extra_hooks=None):
pecan_config.app.root,
debug=CONF.pecan_debug,
static_root=pecan_config.app.static_root if CONF.pecan_debug else None,
force_canonical=getattr(pecan_config.app, 'force_canonical', True),
hooks=app_hooks,
wrap_app=middleware.ParsableErrorMiddleware,
# NOTE(dtantsur): enabling this causes weird issues with nodes named