Commit 71d1ff33 authored by yann300's avatar yann300

fix theme url

parent 0b35da0e
......@@ -33,7 +33,7 @@ export class ThemeModule extends Plugin {
config: registry.get('config').api
}
this.themes = themes.reduce((acc, theme) => {
theme.url = window.location.origin + '/' + theme.url
theme.url = window.location.origin + window.location.pathname + theme.url
return { ...acc, [theme.name]: theme }
}, {})
let queryTheme = (new QueryParams()).get().theme
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment