mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-30 02:23:08 +02:00
fix: use import assertion
This commit is contained in:
parent
a8e8b2e2cf
commit
8dcdbddbfb
4 changed files with 6 additions and 3 deletions
|
@ -1 +1 @@
|
||||||
v16.13.2
|
v16.14.0
|
||||||
|
|
|
@ -12,6 +12,9 @@ You should also include the user name that made the change.
|
||||||
|
|
||||||
## 12.x.x (unreleased)
|
## 12.x.x (unreleased)
|
||||||
|
|
||||||
|
### NOTE
|
||||||
|
このバージョンからNode v16.14.0以降が必要です
|
||||||
|
|
||||||
### Changes
|
### Changes
|
||||||
- ノートの最大文字数を設定できる機能が廃止され、デフォルトで一律3000文字になりました
|
- ノートの最大文字数を設定できる機能が廃止され、デフォルトで一律3000文字になりました
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM node:16.13.2-alpine3.15 AS base
|
FROM node:16.14.0-alpine3.15 AS base
|
||||||
|
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Koa from 'koa';
|
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';
|
import { fetchMeta } from '@/misc/fetch-meta.js';
|
||||||
|
|
||||||
export const manifestHandler = async (ctx: Koa.Context) => {
|
export const manifestHandler = async (ctx: Koa.Context) => {
|
||||||
|
|
Loading…
Reference in a new issue