How to fix product image URLs for PWA Studio in Windows?

Step 1

Locate the code block:

Add the following line below:

path = path.replace(/\\/g, '/').replace(/[\/]{2,}/g, '/');

Step 2

Replace the line:

with the following one:

let baseURL = new URL(path, isAbsolute ? undefined : mediaBackend);

See also: