diff --git a/frontend/src/components/SideNav/index.tsx b/frontend/src/components/SideNav/index.tsx index f970b5788e..439db6ed67 100644 --- a/frontend/src/components/SideNav/index.tsx +++ b/frontend/src/components/SideNav/index.tsx @@ -29,7 +29,7 @@ const SideNav = ({ toggleDarkMode }: Props): JSX.Element => { const link = document.createElement('link'); link.rel = 'stylesheet'; link.type = 'text/css'; - link.href = !isDarkMode ? './css/antd.dark.min.css' : './css/antd.min.css'; + link.href = !isDarkMode ? '/css/antd.dark.min.css' : '/css/antd.min.css'; link.media = 'all'; link.id = id; head.appendChild(link); diff --git a/frontend/src/index.html.ejs b/frontend/src/index.html.ejs index d97d906ec5..49928c33a4 100644 --- a/frontend/src/index.html.ejs +++ b/frontend/src/index.html.ejs @@ -14,7 +14,7 @@ - +