Skip to content

Conversation

@jl4ever
Copy link
Contributor

@jl4ever jl4ever commented Nov 14, 2025

JIRA: https://procoretech.atlassian.net/browse/DMX-5787

Summary

Previous fix likely didn't work for prod due to cross origin check for updateUrl didn't work out. Make sure a fallback to identify the cross origin is in place

  • first: ancestorOrigins API (modern browsers)
  • second: document.referrer parsing
  • third: Jekyll config value (window.JEKYLL_CONFIG.url)
  • fourth: Hardcoded fallback: if on *.github.io, use https://developers.procore.com

@jl4ever jl4ever force-pushed the jj-more-doc-search-linked-fix branch from 6181514 to 1c2807f Compare November 14, 2025 22:54
@jl4ever jl4ever force-pushed the jj-more-doc-search-linked-fix branch from 1c2807f to a8e13c6 Compare November 14, 2025 22:56
@jl4ever jl4ever merged commit 7fed364 into main Nov 14, 2025
5 checks passed
@jl4ever jl4ever deleted the jj-more-doc-search-linked-fix branch November 14, 2025 23:06
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.

3 participants