diff --git a/backend/Dockerfile b/backend/Dockerfile index 189b0d2..6117a12 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,5 +1,7 @@ FROM node:18-alpine +RUN apk add openssl + RUN npm install -g typescript COPY package.json ./ diff --git a/frontend/src/pages/Room/joan6.tsx b/frontend/src/pages/Room/joan6.tsx index a02de16..d64780e 100644 --- a/frontend/src/pages/Room/joan6.tsx +++ b/frontend/src/pages/Room/joan6.tsx @@ -240,6 +240,15 @@ export const Joan6 = () => { }, 1000); return () => clearInterval(interval); }, [update]); + useEffect(() => { + const interval = setInterval( + () => { + window.location.reload(); + }, + 1000 * 60 * 60 * 24, + ); + return () => clearInterval(interval); + }); return (