fix esm
This commit is contained in:
parent
2e89b21544
commit
c8070fc544
3 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
import * as httpSignature from 'http-signature';
|
import httpSignature from 'http-signature';
|
||||||
|
|
||||||
import config from '@/config/index.js';
|
import config from '@/config/index.js';
|
||||||
import { envOption } from '../env.js';
|
import { envOption } from '../env.js';
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { DriveFile } from '@/models/entities/drive-file.js';
|
import { DriveFile } from '@/models/entities/drive-file.js';
|
||||||
import { User } from '@/models/entities/user.js';
|
import { User } from '@/models/entities/user.js';
|
||||||
import { IActivity } from '@/remote/activitypub/type.js';
|
import { IActivity } from '@/remote/activitypub/type.js';
|
||||||
import * as httpSignature from 'http-signature';
|
import httpSignature from 'http-signature';
|
||||||
|
|
||||||
export type DeliverJobData = {
|
export type DeliverJobData = {
|
||||||
/** Actor */
|
/** Actor */
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import Router from '@koa/router';
|
import Router from '@koa/router';
|
||||||
import json from 'koa-json-body';
|
import json from 'koa-json-body';
|
||||||
import * as httpSignature from 'http-signature';
|
import httpSignature from 'http-signature';
|
||||||
|
|
||||||
import { renderActivity } from '@/remote/activitypub/renderer/index.js';
|
import { renderActivity } from '@/remote/activitypub/renderer/index.js';
|
||||||
import renderNote from '@/remote/activitypub/renderer/note.js';
|
import renderNote from '@/remote/activitypub/renderer/note.js';
|
||||||
|
|
Loading…
Reference in a new issue