mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 09:16:03 +03:00
[GH-ISSUE #1561] Address Bar Updated Incorrectly #497
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#497
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dob99 on GitHub (Mar 24, 2021).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1561
Description
When the application is served from a directory other than root and a change is made to the URL or inputs, the path is removed from the URL.
To Reproduce
router: { base: '/hoppscotch/' },=> The URL has been altered to reflect the changes, but "/hoppscotch" has been removed from it.
Expected behavior
Any path components in the URL will be maintained when updating it
Environment:
@liyasthomas commented on GitHub (Mar 24, 2021):
Thanks for reporting this issue. We're working on a fix.
@liyasthomas commented on GitHub (Mar 24, 2021):
@dob99 pull latest changes - you should now be able to define a custom
router.baseproperty innuxt.config.jsfile and Hoppscotch will respect that while setting query parameters.Example:
nuxt.config.jsRead more about Nuxt router property ->
If you're planing to self-host Hoppscotch for your company / workplace - please consider sponsoring our project on GitHub to help us sustain project development. Thanks.