🔨 Replaces websockets with interval fetches
This commit is contained in:
1 parent
4b2248a6d7
commit
d858b9e7c8
5 files changed
+55
-74
No files matched your search
@@ -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