mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-05 15:57:23 +01:00
preliminary support for webfinger
It just echos back the subject given to it.
This commit is contained in:
9
tools/webfinger.php
Executable file
9
tools/webfinger.php
Executable file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
$resource = $_GET['resource'];
|
||||
|
||||
header("Content-type: application/json");
|
||||
echo json_encode(array(
|
||||
subject => $resource,
|
||||
), JSON_PRETTY_PRINT);
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user