Skip to content

Conversation

@wesleyboar
Copy link
Member

@wesleyboar wesleyboar commented May 1, 2025

Overview

Update the setTargetForExternalLinks.js script to consider www, dev, pprd, and prod subdomains as the same host when deciding whether a link is external.

Status

Important

Should we really do this? Maybe the author of the "not working" links should be using relative links instead. You explained to them why relative links may be better.

Changes

  • changed a condition in setTargetForExternalLinks.js

Testing & UI

before.mov
after.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants