adapt static URLs to work with server