diff --git a/index.html b/index.html index 14eecfc..05300c5 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,7 @@ Vite + React + TS +
diff --git a/src/app/App.tsx b/src/app/App.tsx index ed2ece4..b283b7d 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -15,7 +15,7 @@ function App() { const [palette, setPalette] = useState(CreateTheme(getThemeType())); const whiteLabel = getWhitelabel() - const manifestPath = whiteLabel.name.replace(/\s/g, "") + "/manifest.json" + const manifestPath = "/" + whiteLabel.name.replace(/\s/g, "") + "/manifest.json" // const defaultPath = "/AdaptiveAgriculture/manifest.json"; const manifestDocument = document.getElementById('manifest-link') as HTMLLinkElement