mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-09-07 08:26:37 -05:00
feat: implement account updates on backend
This commit is contained in:
6
server/utils/httpApi.ts
Normal file
6
server/utils/httpApi.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export function useHttpApi(event: H3Event) {
|
||||
const config = useRuntimeConfig(event);
|
||||
return $fetch.create({
|
||||
baseURL: config.public.apiBase,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user