Replace cdn url with relative paths