ros-infrastructure / rosindex

The source code for generating index.ros.org
https://index.ros.org
GNU General Public License v3.0
12 stars 24 forks source link

404 Page handling w/ issue form (#362) #364

Closed gabrielhsdev closed 6 months ago

gabrielhsdev commented 6 months ago

This pull request introduces the updateGitHref() function. It is responsible for dynamically updating a GitHub issue link with relevant information.

Referrer URL Handling: It's worth noting that accessing document.referrer might result in an empty value if the user navigated directly to the page or if the browser's privacy settings restrict referrer information. The function handles such scenarios, providing a default value to prevent errors.