From b8b96145197082cc8ded08a533e822297cddf6d8 Mon Sep 17 00:00:00 2001 From: Joe Masilotti Date: Wed, 15 May 2024 15:08:14 -0700 Subject: [PATCH] Enable query string matching by default --- Source/HotwireConfig.swift | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/HotwireConfig.swift b/Source/HotwireConfig.swift index 47c46c2..f0360f0 100644 --- a/Source/HotwireConfig.swift +++ b/Source/HotwireConfig.swift @@ -81,7 +81,8 @@ public struct HotwireConfig { public extension HotwireConfig { class PathConfiguration { - /// Enable to match the query string when applying rules in addition to the path. - public var matchQueryStrings = false + /// Enable to include the query string (in addition to the path) when applying rules. + /// Disable to only consider the path when applying rules. + public var matchQueryStrings = true } }