Background fixes
This commit is contained in:
@@ -33,7 +33,7 @@ function SettingsButton({
|
||||
method: 'GET',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
};
|
||||
fetch('/trigger/api/wakeDakota', requestOptions);
|
||||
fetch(`/${import.meta.env.VITE_BASE_URL}/api/wakeDakota`, requestOptions);
|
||||
}
|
||||
return (
|
||||
<Menu withinPortal={false} withArrow shadow='md' position='top'>
|
||||
@@ -46,7 +46,7 @@ function SettingsButton({
|
||||
<NavLink
|
||||
label='Settings'
|
||||
component='a'
|
||||
href='/trigger/settings'
|
||||
href={`/${import.meta.env.VITE_BASE_URL}/settings`}
|
||||
className={navLink.defaultNavLink}
|
||||
classNames={navLink}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user