mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-22 05:51:44 +03:00
fix(Math Converter): fix base_url
This commit is contained in:
1 parent
17db2c7115
commit
c483fddf38
1 file changed
+3
-1
@@ -2,7 +2,9 @@
|
|||||||
import { useScriptTag } from '@vueuse/core';
|
import { useScriptTag } from '@vueuse/core';
|
||||||
import { useQueryParamOrStorage } from '@/composable/queryParams';
|
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 = [
|
const formats = [
|
||||||
{ value: 'asciimath', label: 'AsciiMath' },
|
{ value: 'asciimath', label: 'AsciiMath' },
|
||||||
|
|||||||
Reference in new issue
Block a user