fix(frontend): devices list pagination + nginx edge routes
This commit is contained in:
parent
72285a5b06
commit
c0323ecd5e
|
|
@ -28,30 +28,12 @@ server {
|
|||
proxy_connect_timeout 60;
|
||||
proxy_redirect off;
|
||||
}
|
||||
location /custom-frontend {
|
||||
proxy_pass http://host.docker.internal:8005;
|
||||
proxy_read_timeout 60;
|
||||
proxy_connect_timeout 60;
|
||||
proxy_redirect off;
|
||||
}
|
||||
location /images {
|
||||
proxy_pass http://host.docker.internal:8004;
|
||||
proxy_read_timeout 60;
|
||||
proxy_connect_timeout 60;
|
||||
proxy_redirect off;
|
||||
}
|
||||
location /socket.io {
|
||||
proxy_pass http://host.docker.internal:5000;
|
||||
proxy_read_timeout 60;
|
||||
proxy_connect_timeout 60;
|
||||
proxy_redirect off;
|
||||
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection 'upgrade';
|
||||
proxy_set_header Host $host;
|
||||
proxy_cache_bypass $http_upgrade;
|
||||
}
|
||||
location /companylink {
|
||||
return 301 https://oktopus.app.br/controller;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -426,10 +426,10 @@ const Page = () => {
|
|||
}}
|
||||
>
|
||||
<Container maxWidth="xl" >
|
||||
<Stack spacing={3}>
|
||||
<Stack spacing={1}>
|
||||
<Grid
|
||||
container
|
||||
spacing={2}
|
||||
spacing={1}
|
||||
py={1}
|
||||
>
|
||||
<Grid xs={4} item>
|
||||
|
|
@ -698,7 +698,7 @@ const Page = () => {
|
|||
}
|
||||
</Table>
|
||||
</TableContainer>
|
||||
{(pages.lenght > 0) && total && <TablePagination
|
||||
{(pages > 0) && total && <TablePagination
|
||||
rowsPerPageOptions={rowsPerPageOptions}
|
||||
component="div"
|
||||
count={total}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user