🔨 Replaces websockets with interval fetches
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import type { FetchResponse } from "ofetch"
|
||||
import { AxiosError, type AxiosResponse } from "axios"
|
||||
import { type AxiosResponse } from "axios"
|
||||
|
||||
export function useAPI(route: string = "/") {
|
||||
return `https://api.door.svitan.dev${route}`
|
||||
|
Reference in New Issue
Block a user