lightning-component-apex-continuation
lightning-component-apex-continuation copied to clipboard
Visualforce base URL critical update
Great code here - you might want to adapt it to detect the new critical update that changes Visualforce and document base URLs. https://releasenotes.docs.salesforce.com/en-us/spring18/release-notes/rn_vf_instance_names_removed.htm
So your query that returns a URL like:
https://my-domain-dev-ed--c.na50.content.force.com/profilephoto/001/A
Should after the critical update return:
https://my-domain-dev-ed--c.documentforce.com/profilephoto/001/A
And if it does, you'd expect the Visualforce URL to be
https://my-domain-dev-ed--c.visualforce.com/
If it doesn't then the org is still on the old URL pattern.