1
Fork 0

Changes to support custom basepath in routing

This commit is contained in:
David Valdez 2023-04-25 02:20:29 +00:00
parent 30c1b2a152
commit cb44e8572f
2 changed files with 4 additions and 4 deletions

View File

@ -8,15 +8,15 @@
"background_color": "white", "background_color": "white",
"icons": [ "icons": [
{ {
"src": "/assets/logo192.png", "src": "/photoview/logo192.png",
"sizes": "192x192" "sizes": "192x192"
}, },
{ {
"src": "/assets/logo512.png", "src": "/photoview/logo512.png",
"sizes": "512x512" "sizes": "512x512"
}, },
{ {
"src": "/assets/photoview-logo.svg", "src": "/photoview/photoview-logo.svg",
"sizes": "150x150" "sizes": "150x150"
} }
] ]

View File

@ -16,7 +16,7 @@ setupLocalization()
const Main = () => ( const Main = () => (
<ApolloProvider client={client}> <ApolloProvider client={client}>
<Router> <Router basename={import.meta.env.BASE_URL}>
<SidebarProvider> <SidebarProvider>
<App /> <App />
</SidebarProvider> </SidebarProvider>