Remove obsolete routes

This commit is contained in:
Pierre Rudloff 2020-06-22 22:25:32 +02:00
parent 251fbe48ca
commit 72e5e68274

View file

@ -85,8 +85,6 @@ $app->any(
'/info', '/info',
[$frontController, 'info'] [$frontController, 'info']
)->setName('info'); )->setName('info');
// Legacy route.
$app->any('/video', [$frontController, 'info']);
$app->any( $app->any(
'/watch', '/watch',
@ -97,8 +95,6 @@ $app->any(
'/download', '/download',
[$downloadController, 'download'] [$downloadController, 'download']
)->setName('download'); )->setName('download');
// Legacy route.
$app->get('/redirect', [$downloadController, 'download']);
$app->get( $app->get(
'/locale/{locale}', '/locale/{locale}',