diff --git a/infra/nginx.conf.j2 b/infra/nginx.conf.j2 index 57f7c97..e4c6ccd 100644 --- a/infra/nginx.conf.j2 +++ b/infra/nginx.conf.j2 @@ -17,6 +17,9 @@ server { location / { proxy_pass http://127.0.0.1:8888; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; diff --git a/src/apps/epic/static/apps/epic/role-select.js b/src/apps/epic/static/apps/epic/role-select.js index fd79499..846a7b5 100644 --- a/src/apps/epic/static/apps/epic/role-select.js +++ b/src/apps/epic/static/apps/epic/role-select.js @@ -121,6 +121,8 @@ var RoleSelect = (function () { function handleTurnChanged(event) { var active = String(event.detail.active_slot); + var invSlot = document.getElementById("id_inv_role_card"); + if (invSlot) invSlot.innerHTML = ""; // Update card-stack eligibility var stack = document.querySelector(".card-stack[data-user-slots]");