summaryrefslogtreecommitdiff
path: root/lib/Travelynx.pm
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-08-26 09:17:28 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2023-08-26 09:17:28 +0200
commitf4d71b4d9fb4191c07a9c200d32626175568b4fa (patch)
tree1903cec1805df51d9b2d9d08e00e7f0a708e04be /lib/Travelynx.pm
parent559a1cedd7814d101743f718f1db2760338ab51f (diff)
obtain autocompletion from database2.1.1
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 8437686..39eca59 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -2397,6 +2397,7 @@ sub startup {
$r->get( '/p/:name/j/:id' => 'public_journey' )
->to('profile#journey_details');
$r->get('/.well-known/webfinger')->to('account#webfinger');
+ $r->get('/dyn/:av/autocomplete.js')->to('api#autocomplete');
$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');