An open source, self-hosted platform for sharing and managing your most frequently used links. Easily create customizable, human-readable shortcuts to streamline your link management.
This PR fixes a bug where the extension was adding an extra slash (//) in the URL during redirection. The problem happened because the stored instance_url might already have a slash at the end, causing the double slash when combined with the shortcut path.
Changes:
Updated the URL construction logic in background.ts to use the URL object.
This change ensures that URLs are correctly formatted, preventing the occurrence of double slashes in the redirection path.
Testing:
Verified that the redirection works correctly with instance_url values both with and without trailing slashes.
Tested with various shortcut paths to ensure consistent behavior.
This PR fixes a bug where the extension was adding an extra slash (//) in the URL during redirection. The problem happened because the stored instance_url might already have a slash at the end, causing the double slash when combined with the shortcut path.
Changes:
Testing: