feat: update front layout

This commit is contained in:
Maël Gangloff
2024-07-26 23:55:12 +02:00
parent f72f6df546
commit 133850da1c
9 changed files with 214 additions and 40 deletions

View File

@@ -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)

View File

@@ -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,