Background fixes

This commit is contained in:
Sean Edmunds
2024-12-04 15:13:45 -06:00
parent 2fbd2af22f
commit f94d45953e
7 changed files with 11 additions and 9 deletions

View File

@@ -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}
/>