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:
@@ -55,7 +55,7 @@ export async function request<T = any, R = AxiosResponse<T>, D = any>(config: Ax
|
||||
withCredentials: true,
|
||||
headers: {
|
||||
...config.headers,
|
||||
Accept: 'application/json'
|
||||
Accept: 'application/ld+json'
|
||||
}
|
||||
}
|
||||
return await axios.request<T, R, D>(axiosConfig)
|
||||
|
||||
@@ -7,7 +7,7 @@ interface Tld {
|
||||
specification13: boolean
|
||||
}
|
||||
|
||||
export async function getTldList(params: object): Promise<Tld[]> {
|
||||
export async function getTldList(params: object): Promise<any> {
|
||||
return (await request<Tld[]>({
|
||||
url: 'tld',
|
||||
params,
|
||||
|
||||
Reference in New Issue
Block a user