fix(Math Converter): fix base_url

This commit is contained in:
ShareVB committed 2025-04-12 17:43:21 +02:00
1 parent 17db2c7115
commit c483fddf38
1 file changed
+3 -1
@@ -2,7 +2,9 @@
import { useScriptTag } from '@vueuse/core';
import { useQueryParamOrStorage } from '@/composable/queryParams';
const { load: loadPlurimath } = useScriptTag('/plurimath/index.js', undefined, { type: 'module', manual: true });
const base = import.meta.env.BASE_URL ?? '/';
const { load: loadPlurimath } = useScriptTag(`${base}plurimath/index.js`, undefined, { type: 'module', manual: true });
const formats = [
{ value: 'asciimath', label: 'AsciiMath' },