From 71d1ff33d91029df318bf46360f3d504cc1270ad Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 8 Dec 2020 12:56:13 +0100 Subject: [PATCH] fix theme url --- apps/remix-ide/src/app/tabs/theme-module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/remix-ide/src/app/tabs/theme-module.js b/apps/remix-ide/src/app/tabs/theme-module.js index ac67281241..11c6a68be0 100644 --- a/apps/remix-ide/src/app/tabs/theme-module.js +++ b/apps/remix-ide/src/app/tabs/theme-module.js @@ -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