mirror of
https://github.com/chrononeko/chronocat.git
synced 2024-11-28 10:41:18 +00:00
25 lines
531 B
TypeScript
25 lines
531 B
TypeScript
|
import type { ChronocatContext } from '@chronocat/shell'
|
||
|
import h from '@satorijs/element'
|
||
|
|
||
|
export const ctx: ChronocatContext = {
|
||
|
//@ts-expect-error aaa
|
||
|
chronocat: {
|
||
|
l: {
|
||
|
info: jest.fn(),
|
||
|
warn: jest.fn(),
|
||
|
error: jest.fn(),
|
||
|
debug: jest.fn(),
|
||
|
} as unknown as ChronocatContext['chronocat']['l'],
|
||
|
h,
|
||
|
},
|
||
|
}
|
||
|
|
||
|
export const satoriConfig = {
|
||
|
type: 'satori',
|
||
|
listen: '0.0.0.0',
|
||
|
port: 5500,
|
||
|
self_url: 'https://chronocat.vercel.app',
|
||
|
token: 'DEFINE_CHRONO_TOKEN',
|
||
|
enable: true,
|
||
|
} as const
|