summaryrefslogtreecommitdiff
path: root/lib/Travelynx.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2023-01-08 09:40:49 +0100
committerDaniel Friesel <derf@finalrewind.org>2023-01-08 09:40:49 +0100
commit7b2cd23c3998ac2c30b21c0e82ec7a7ea5ece393 (patch)
treea0dc3fbc26dd2fe8aa4d59295ed00172c9f50cf6 /lib/Travelynx.pm
parentdbd9d9951f8c087c74bb173af8017ce0ac5d8bb9 (diff)
add webfinger "profile-page" support (for public profiles only)
Diffstat (limited to 'lib/Travelynx.pm')
-rwxr-xr-xlib/Travelynx.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm
index db87ad6..a26fc11 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -2182,6 +2182,7 @@ sub startup {
$r->get('/ajax/status/:name/:ts')->to('traveling#public_status_card');
$r->get('/p/:name')->to('traveling#public_profile');
$r->get('/p/:name/j/:id')->to('traveling#public_journey_details');
+ $r->get('/.well-known/webfinger')->to('account#webfinger');
$r->post('/api/v1/import')->to('api#import_v1');
$r->post('/api/v1/travel')->to('api#travel_v1');
$r->post('/action')->to('traveling#travel_action');