Browse Source

panel. code reload

boyska 5 years ago
parent
commit
8c827ccc0b
2 changed files with 5 additions and 3 deletions
  1. 4 2
      docker-compose.yml
  2. 1 1
      panel

+ 4 - 2
docker-compose.yml

@@ -84,9 +84,11 @@ services:
         container_name: feedati_panel
         environment:
             - PANEL_PREFIX=/panel/
-            - PANEL_ALLOWED_NAME=feedati-fe
+              # the "allowed name" is fundamentally broken with gin; if our server is exposed "directly",
+              # PANEL_ALLOWED_NAME must be set to feedati-fe
+            - PANEL_ALLOWED_NAME=localhost
         volumes:
-            - ./panel/panelui/res/:/go/src/git.lattuga.net/boyska/feedpanel/panelui/res/
+            - ./panel/:/go/src/git.lattuga.net/boyska/feedpanel/
         #debug
         ports: ['8011:8000']
 

+ 1 - 1
panel

@@ -1 +1 @@
-Subproject commit 762dc2305d64f320ca0ad9ab2be036b312b2b376
+Subproject commit 3471ce25e13963430d4c7a7ae03ab32878af69eb