new about url, fix typo

This commit is contained in:
Aria Moradi
2021-08-05 05:49:18 +04:30
parent 704a52d943
commit 68ad1f72ce
2 changed files with 2 additions and 2 deletions

View File

@@ -95,7 +95,7 @@ export default function TemporaryDrawer({ drawerOpen, setDrawerOpen }: IProps) {
<ListItemIcon> <ListItemIcon>
<GetAppIcon /> <GetAppIcon />
</ListItemIcon> </ListItemIcon>
<ListItemText primary="Downloadsz" /> <ListItemText primary="Downloads" />
</ListItem> </ListItem>
</Link> </Link>
<Link to="/settings" style={{ color: 'inherit', textDecoration: 'none' }}> <Link to="/settings" style={{ color: 'inherit', textDecoration: 'none' }}>

View File

@@ -26,7 +26,7 @@ export default function About() {
useEffect(() => { setTitle('About'); setAction(<></>); }, []); useEffect(() => { setTitle('About'); setAction(<></>); }, []);
useEffect(() => { useEffect(() => {
client.get('/api/v1/about') client.get('/api/v1/settings/about')
.then((response) => response.data) .then((response) => response.data)
.then((data:IAbout) => { .then((data:IAbout) => {
setAbout(data); setAbout(data);