I have one request that is I need to change all the css & js path from absolute to relative in page source.
Please refer the screenshot for your easy reference. here I want to change all the css ans js to relative path.
For example I need to change
<link rel="stylesheet" type="text/css" media="all" href="http://172.17.0.2/pub/static/frontend/Gworks/Home/en_US/mage/calendar.css" />
<link rel="stylesheet" type="text/css" media="all" href="/pub/static/frontend/Gworks/Home/en_US/mage/calendar.css" />
how to achieve this?
note : Suppose if this not best practice or not possible, please mention the valid reason in your answers.