aem-boilerplate
aem-boilerplate copied to clipboard
refactor: use window.location as base for url construction
Replaces instances of creating URL objects with a single argument with the two-argument form, using window.location as the base URL. Ensures that relative URLs are resolved against the current browser location for consistent handling.
Test URLs:
- Before: https://main--aem-boilerplate--adobe.hlx.live/
- After: https://relative-paths--aem-boilerplate--adobe.hlx.live/
Hello, I'm the AEM Code Sync Bot and I will run some test suites that validate the page speed. In case there are problems, just click the checkbox below to rerun the respective action.
- [ ] Re-run PSI Checks
| Page | Scores | Audits | |
|---|---|---|---|
| / |
@fkakatie this has now been done with #346