refactor: edit baseUrl

This commit is contained in:
Net 2024-08-06 13:46:09 +07:00
parent ae0b4c3264
commit 2ab3cae057
3 changed files with 37 additions and 7 deletions

View file

@ -1,4 +1,6 @@
<script lang="ts" setup>
import { baseUrl } from 'src/stores/utils';
defineProps<{
inactive?: boolean;
color?: 'none' | 'hq' | 'br';
@ -22,8 +24,6 @@ defineProps<{
)[];
footer?: boolean;
}>();
const baseUrl = import.meta.env.VITE_API_BASE_URL;
</script>
<template>