mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-20 21:23:08 +03:00
fix(Ascii Text Drawer): fix font base_url
This commit is contained in:
1 parent
9ce17597f7
commit
17db2c7115
1 file changed
+3
-3
@@ -11,12 +11,12 @@ const output = ref('');
|
||||
const errored = ref(false);
|
||||
const processing = ref(false);
|
||||
|
||||
figlet.defaults({ fontPath: '/figlet-fonts' });
|
||||
const base = import.meta.env.BASE_URL ?? '/';
|
||||
|
||||
figlet.defaults({ fontPath: `${base}figlet-fonts` });
|
||||
|
||||
const languagesOptions = languages.map(lang => ({ value: lang.id, label: lang.name }));
|
||||
|
||||
figlet.defaults({ fontPath: '/figlet-fonts' });
|
||||
|
||||
watchEffect(async () => {
|
||||
const inputValue = input.value;
|
||||
const languageValue = language.value;
|
||||
|
||||
Reference in new issue
Block a user