Changes to support custom basepath in routing
This commit is contained in:
parent
30c1b2a152
commit
cb44e8572f
|
@ -8,15 +8,15 @@
|
|||
"background_color": "white",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/assets/logo192.png",
|
||||
"src": "/photoview/logo192.png",
|
||||
"sizes": "192x192"
|
||||
},
|
||||
{
|
||||
"src": "/assets/logo512.png",
|
||||
"src": "/photoview/logo512.png",
|
||||
"sizes": "512x512"
|
||||
},
|
||||
{
|
||||
"src": "/assets/photoview-logo.svg",
|
||||
"src": "/photoview/photoview-logo.svg",
|
||||
"sizes": "150x150"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -16,7 +16,7 @@ setupLocalization()
|
|||
|
||||
const Main = () => (
|
||||
<ApolloProvider client={client}>
|
||||
<Router>
|
||||
<Router basename={import.meta.env.BASE_URL}>
|
||||
<SidebarProvider>
|
||||
<App />
|
||||
</SidebarProvider>
|
||||
|
|
Loading…
Reference in New Issue