Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MWPW-158407, 158404, 158406, 158408, 158461: Ignoring decorateMeta if the metadata is from promo. #2924

Merged
merged 3 commits into from
Oct 1, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions libs/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -1148,6 +1148,7 @@ function decorateMeta() {
const contents = document.head.querySelectorAll(`[content*=".${SLD}."]`);
contents.forEach((meta) => {
if (meta.getAttribute('property') === 'hlx:proxyUrl') return;
if (meta.getAttribute('name').endsWith('schedule')) return;
seanchoi-dev marked this conversation as resolved.
Show resolved Hide resolved
try {
const url = new URL(meta.content);
const localizedLink = localizeLink(`${origin}${url.pathname}`);
Expand Down
Loading