Set API_BASE to browser URL
</noscript>
<div id="root"></div>
<script type='text/javascript'>
- window.API_BASE = "%API_BASE%";
+ window.API_BASE = (("%API_BASE%" === "") ? window.location.href : "%API_BASE%");
</script>
<!--
This HTML file is a template.
