diff options
author | Daniel Friesel <derf@finalrewind.org> | 2023-01-08 09:40:49 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2023-01-08 09:40:49 +0100 |
commit | 7b2cd23c3998ac2c30b21c0e82ec7a7ea5ece393 (patch) | |
tree | a0dc3fbc26dd2fe8aa4d59295ed00172c9f50cf6 /lib/Travelynx.pm | |
parent | dbd9d9951f8c087c74bb173af8017ce0ac5d8bb9 (diff) |
add webfinger "profile-page" support (for public profiles only)
Diffstat (limited to 'lib/Travelynx.pm')
-rwxr-xr-x | lib/Travelynx.pm | 1 |
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'); |