Move API url to index.html.