fix: use import assertion

This commit is contained in:
syuilo
2022-03-01 00:40:53 +09:00
parent a8e8b2e2cf
commit 8dcdbddbfb
4 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,5 @@
import Koa from 'koa';
import * as manifest from './manifest.json';
import * as manifest from './manifest.json' assert { type: 'json' };
import { fetchMeta } from '@/misc/fetch-meta.js';
export const manifestHandler = async (ctx: Koa.Context) => {