use node 16

This commit is contained in:
syuilo
2022-06-04 17:26:56 +09:00
parent abcd5bc951
commit 89419c05b2
5 changed files with 12 additions and 9 deletions

View File

@@ -3,7 +3,9 @@ import { fetchMeta } from '@/misc/fetch-meta.js';
import manifest from './manifest.json' assert { type: 'json' };
export const manifestHandler = async (ctx: Koa.Context) => {
const res = structuredClone(manifest);
// TODO
//const res = structuredClone(manifest);
const res = JSON.parse(JSON.stringify(manifest));
const instance = await fetchMeta(true);