Replace /:user endpoints with /@:user

This commit is contained in:
Akihiko Odaki
2018-03-27 12:53:56 +09:00
parent 336384a193
commit 834dc49038
45 changed files with 127 additions and 127 deletions

View File

@@ -121,7 +121,7 @@ class LineBot extends BotCore {
actions.push({
type: 'uri',
label: 'Webで見る',
uri: `${config.url}/${user.username}`
uri: `${config.url}/@${user.username}`
});
this.reply([{

View File

@@ -296,7 +296,7 @@ export const packForAp = (
if (!_user) return reject('invalid user arg.');
const userUrl = `${config.url}/${_user.username}`;
const userUrl = `${config.url}/@${_user.username}`;
resolve({
"@context": ["https://www.w3.org/ns/activitystreams", {