Skip to content

Commit

Permalink
Merge pull request #296 from utmgdsc/develop
Browse files Browse the repository at this point in the history
Fix Openssl issue, auto refresh
  • Loading branch information
ggggg authored Jan 16, 2025
2 parents 18d819f + f96f008 commit 17dc759
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM node:18-alpine

RUN apk add openssl

RUN npm install -g typescript

COPY package.json ./
Expand Down
9 changes: 9 additions & 0 deletions frontend/src/pages/Room/joan6.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<Grid
Expand Down

0 comments on commit 17dc759

Please sign in to comment.