From d2c6f03a5d47c8f28502653e4da0ce33bc8b3c70 Mon Sep 17 00:00:00 2001 From: Xinos Date: Mon, 23 Oct 2023 02:43:30 +0700 Subject: [PATCH] fix urls for modulesByArtType --- src/regulation/formatValueRules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/regulation/formatValueRules.js b/src/regulation/formatValueRules.js index e00642ae..274a5da2 100644 --- a/src/regulation/formatValueRules.js +++ b/src/regulation/formatValueRules.js @@ -260,7 +260,7 @@ export default [ (modules) => (createElement) => modules == null ? null : ( createElement('div', null, modules.map((mod) => ( - createElement('a', { href: `/${mod.SlotType}#${mod.Name}` }, + createElement('a', { href: `${process.env.BASE_URL}${mod.SlotType}#${mod.Name}` }, createElement(Icon, { name: mod.Icon, dir: 'game/Modules' }), store.state.userSettings.compactModulesByArtTypeTable ? null : createElement('p', null, t(mod.TID)), )