diff --git a/config/nginx.conf b/config/nginx.conf index 0eb2da9..cf2d745 100644 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -10,6 +10,7 @@ server { location / { root /usr/share/nginx/html; index index.html; + add_header Cache-Control no-cache; # First attempt to serve request as file, then as directory, then fall back to redirecting to index.html try_files $uri $uri/ $uri.html /index.html; } diff --git a/src/pages/workspace/workspace_page.tsx b/src/pages/workspace/workspace_page.tsx index eef4035..0d5e239 100644 --- a/src/pages/workspace/workspace_page.tsx +++ b/src/pages/workspace/workspace_page.tsx @@ -249,7 +249,7 @@ export function WorkspacePage() { setIsAccountPopoverOpen(false); axios.post(getApiUrl('/api/signout')).then( () => { - window.location.replace('/'); + window.location.replace('/signin'); setTimeout(() => window.location.reload(), 500); }, () => {