monkeeShark/src/server/api/endpoints/admin/relays/list.ts
MeiMei 145389768d
pub-relay (#6341)
* pub-relay

* relay actorをApplicationにする

* Disable koa-compress

* Homeはリレーに送らない

* Disable debug

* UI

* cleanupなど
2020-05-10 18:42:31 +09:00

20 lines
347 B
TypeScript

import define from '../../../define';
import { listRelay } from '../../../../../services/relay';
export const meta = {
desc: {
'ja-JP': 'List relay'
},
tags: ['admin'],
requireCredential: true as const,
requireModerator: true as const,
params: {
},
};
export default define(meta, async (ps, user) => {
return await listRelay();
});