change URL to the absolute path

Change URL and resource links to absolute path in case of not running this app on root folder of the server.