From c16c2a4f0b49219e0d6c302ff959990bc68e6511 Mon Sep 17 00:00:00 2001 From: leehjhjhj Date: Sun, 30 Jul 2023 11:08:35 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20example=20html=20=EC=86=8C=EC=BC=93=20?= =?UTF-8?q?=EC=A3=BC=EC=86=8C=20=ED=8F=AC=ED=8A=B8=EC=B6=94=EA=B0=80=20?= =?UTF-8?q?=EB=B0=8F=20static=20volume=20=EC=9C=84=EC=B9=98=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 2 +- test/templates/example.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 669690e9..14bbadeb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,7 +15,7 @@ services: context: . dockerfile: Dockerfile volumes: - - static_volume:/data/static + - static_volume:/project/data/static command: ["./start.sh"] ports: - "8000:8000" diff --git a/test/templates/example.html b/test/templates/example.html index 0376b812..50166609 100644 --- a/test/templates/example.html +++ b/test/templates/example.html @@ -91,7 +91,7 @@

WS TEST

}; const ws_scheme = window.location.protocol === "https:" ? "wss" : "ws"; - const ws_url = ws_scheme + '://' + window.location.host + '/ws/liveblog/'; + const ws_url = ws_scheme + '://' + window.location.host + ':8000/ws/liveblog/'; handlers.connect(ws_url); \ No newline at end of file