mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
feat: update front layout
This commit is contained in:
9
assets/utils/api/domain.ts
Normal file
9
assets/utils/api/domain.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import {Domain, request} from ".";
|
||||
|
||||
|
||||
export async function getDomain(ldhName: string): Promise<Domain> {
|
||||
const response = await request<Domain>({
|
||||
url: 'domains/' + ldhName
|
||||
})
|
||||
return response.data
|
||||
}
|
||||
Reference in New Issue
Block a user