Replace /:user endpoints with /@:user
This commit is contained in:
@@ -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([{
|
||||
|
@@ -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", {
|
||||
|
Reference in New Issue
Block a user