1
0
mirror of https://github.com/uetchy/namae.git synced 2025-08-20 09:58:13 +09:00

fix: jump to domain directly

This commit is contained in:
2022-04-14 13:03:52 +09:00
parent e8f7db80d8
commit eebf6797b5
3 changed files with 4 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ export default async function handler(
'GET'
);
const json = await response.json();
console.log(json.results.map((i: any) => i.name));
const items = json.results.map((item: any) => {
const locale = item.name._default || 'en-US';
return {