fix: use import assertion
This commit is contained in:
parent
a8e8b2e2cf
commit
8dcdbddbfb
4 changed files with 6 additions and 3 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue