145389768d
* pub-relay * relay actorをApplicationにする * Disable koa-compress * Homeはリレーに送らない * Disable debug * UI * cleanupなど
20 lines
347 B
TypeScript
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();
|
|
});
|