Changes to support custom basepath in routing
This commit is contained in:
parent
30c1b2a152
commit
cb44e8572f
|
@ -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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue