Revert "revert 7bfada9792: enhance: remove bull-board support"
This reverts commit d41d77fcd7.
This commit is contained in:
parent
f13f4ac972
commit
a2062c6469
7 changed files with 11 additions and 180 deletions
|
|
@ -35,7 +35,7 @@ export type SystemWebhookPayload = {
|
|||
createdAt: string;
|
||||
type: string;
|
||||
body: any;
|
||||
}
|
||||
};
|
||||
|
||||
const config = loadConfig();
|
||||
export const port = config.port;
|
||||
|
|
@ -45,10 +45,6 @@ export const host = new URL(config.url).host;
|
|||
export const WEBHOOK_HOST = 'http://localhost:15080';
|
||||
export const WEBHOOK_PORT = 15080;
|
||||
|
||||
export const cookie = (me: UserToken): string => {
|
||||
return `token=${me.token};`;
|
||||
};
|
||||
|
||||
export type ApiRequest<E extends keyof misskey.Endpoints, P extends misskey.Endpoints[E]['req'] = misskey.Endpoints[E]['req']> = {
|
||||
endpoint: E,
|
||||
parameters: P,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue