index.html: fix base domain

Update page functionality to use dynamic domain and protocol from the
current browser URL, resolving issues related to the fixed base domain.
This commit is contained in:
Milan
2023-09-23 02:40:18 +02:00
committed by www-data
parent 6f8f1a3f8b
commit 751643a90d

View File

@@ -98,8 +98,7 @@
<script type="text/javascript" src="/agenda/js/calcms.cust.js"></script> <!--calcms end-->
<!--calcms end-->
<script>
var base_url = "https://programm.coloradio.org";
//var base_url = "http://localhost";
var base_url = window.location.origin;
</script>
<script>