1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-05 11:15:54 +02:00
This commit is contained in:
syuilo
2018-04-05 17:52:46 +09:00
parent d3ed2761b9
commit f5c55d46b7
5 changed files with 5 additions and 11 deletions

View File

@@ -4,8 +4,7 @@ import render from '../../remote/activitypub/renderer/key';
import config from '../../config';
import withUser from './with-user';
const app = express();
app.disable('x-powered-by');
const app = express.Router();
app.get('/@:user/publickey', withUser(username => {
return `${config.url}/@${username}/publickey`;