Specify cron target
This commit is contained in:
parent
58c783d9fc
commit
3bd591e22b
|
|
@ -2,6 +2,8 @@ cron:
|
|||
- description: "clean up old events"
|
||||
url: /tasks/cleanup
|
||||
schedule: every monday 09:00
|
||||
target: api
|
||||
- description: "clean up old events without a visited date"
|
||||
url: /tasks/legacyCleanup
|
||||
schedule: every tuesday 09:00
|
||||
target: api
|
||||
|
|
|
|||
|
|
@ -74,11 +74,7 @@ const Settings = () => {
|
|||
});
|
||||
|
||||
// Reset scroll on navigation
|
||||
useEffect(() => {
|
||||
document.documentElement.style.scrollBehavior = 'auto';
|
||||
window.scrollTo(0, 0);
|
||||
document.documentElement.style.scrollBehavior = 'smooth';
|
||||
}, [pathname]);
|
||||
useEffect(() => window.scrollTo(0, 0), [pathname]);
|
||||
|
||||
return (
|
||||
<>
|
||||
|
|
|
|||
Loading…
Reference in a new issue