소스 검색

Fix API_BASE for dev.html

ZiB 4 달 전
부모
커밋
975632217a
1개의 변경된 파일과 1개의 추가작업 그리고 2개의 파일을 삭제
  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>
-    const API_BASE = window.API_BASE
-    document.getElementById('base-url').value = API_BASE;
+    document.getElementById('base-url').value = window.API_BASE;
 
     const ACTION_KWARGS = {
       'fetch-feed':   [['feed_name','text','feed name'],['title','text','event title (optional)']],