Skip to content

Changing the patching strategy for contentUrl, atLocation.location and url#5249

Merged
imsdu merged 3 commits intoBlueBrain:masterfrom
imsdu:copy-location-to-url
Nov 26, 2024
Merged

Changing the patching strategy for contentUrl, atLocation.location and url#5249
imsdu merged 3 commits intoBlueBrain:masterfrom
imsdu:copy-location-to-url

Conversation

@imsdu
Copy link
Collaborator

@imsdu imsdu commented Nov 25, 2024

When contentUrl matches the defined prefix

  • Strip the prefix from its value
  • Apply the patched value to contentUrl, atLocation.location and url

If not. fallback to atLocation.location:

  • Strip the prefix from its value
  • Apply the patched value to atLocation.location and url

@imsdu imsdu changed the title Copy location to url Changing the patching strategy for contentUrl, atLocation.location and url Nov 25, 2024
Copy link
Contributor

@crisely09 crisely09 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@imsdu imsdu merged commit 2d6f506 into BlueBrain:master Nov 26, 2024
@imsdu imsdu deleted the copy-location-to-url branch November 26, 2024 08:49
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