forked from GNUsocial/gnu-social
Autodiscovery header for webmention
This commit is contained in:
parent
f09a82268f
commit
47db1ab063
@ -316,6 +316,7 @@ class LinkbackPlugin extends Plugin
|
||||
|
||||
public function onStartShowHTML($action)
|
||||
{
|
||||
header('Link: <' . common_local_url('webmention') . '>; rel="webmention"', false);
|
||||
header('X-Pingback: ' . common_local_url('pingback'));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user