Browse Source

Fix API_BASE for dev.html

ZiB 4 months ago
parent
commit
975632217a
1 changed files with 1 additions and 2 deletions
  1. 1 2
      room_cal/vue/dev.html

+ 1 - 2
room_cal/vue/dev.html

@@ -320,8 +320,7 @@
 
 
   <script>var API_BASE = '';</script>
   <script>var API_BASE = '';</script>
   <script>
   <script>
-    const API_BASE = window.API_BASE
-    document.getElementById('base-url').value = API_BASE;
+    document.getElementById('base-url').value = window.API_BASE;
 
 
     const ACTION_KWARGS = {
     const ACTION_KWARGS = {
       'fetch-feed':   [['feed_name','text','feed name'],['title','text','event title (optional)']],
       'fetch-feed':   [['feed_name','text','feed name'],['title','text','event title (optional)']],