mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 16:38:20 +01:00
4 lines
114 B
TypeScript
4 lines
114 B
TypeScript
export const useBaseUrl = () => {
|
|
return ref(useRuntimeConfig().public.apiHost ?? useRequestURL().origin);
|
|
};
|