mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-08-28 17:45:03 +08:00
00da4c33a7
* feat: append /backend to domain-based mock server URL when subpath access enabled * test: cover ENABLE_SUBPATH_BASED_ACCESS branch for domain-based mock server URL Adds cast URL-generation tests asserting /backend is appended only when ENABLE_SUBPATH_BASED_ACCESS is "true", covering the false/unset, https, and null-wildcard cases. * refactor: improve mock server URL generation with defensive guard and constants