diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-04-24 07:34:41 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-04-24 07:34:41 +0200 |
commit | 438319e63a17f3ae5927b274ef491b6e9514f934 (patch) | |
tree | a3df2c748d67d485d3a0080a9dd2ec710f620b60 /lib/Travelynx.pm | |
parent | 906ec60ea201f358993b52a6d73041e2a4fe4a3c (diff) |
Bump API to v1
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 276c958..3f8025a 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -1469,6 +1469,7 @@ sub startup { $r->get('/impressum')->to('static#imprint'); $r->get('/imprint')->to('static#imprint'); $r->get('/api/v0/:user_action/:token')->to('api#get_v0'); + $r->get('/api/v1/:user_action/:token')->to('api#get_v1'); $r->get('/login')->to('account#login_form'); $r->get('/register')->to('account#registration_form'); $r->get('/reg/:id/:token')->to('account#verify'); |