Skip to content

Commit

Permalink
fix: example html 소켓 주소 포트추가 및 static volume 위치 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
leehjhjhj committed Jul 30, 2023
1 parent dbb4666 commit c16c2a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ services:
context: .
dockerfile: Dockerfile
volumes:
- static_volume:/data/static
- static_volume:/project/data/static
command: ["./start.sh"]
ports:
- "8000:8000"
Expand Down
2 changes: 1 addition & 1 deletion test/templates/example.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ <h1>WS TEST</h1>
};

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);
</script>

0 comments on commit c16c2a4

Please sign in to comment.