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