How to replace local links to www links

To speed up network access,I want to replace local links to www links,but it doesn’t work

(local links)

page_id1: Page1
image: /local/custom_ui/floorplan/SVG/Page1.svg
stylesheet: /local/custom_ui/floorplan/CSS.css



(www links)

page_id1: Page1
image: https://www.demo.io/page1.svg
stylesheet: /local/custom_ui/floorplan/CSS.css