Deprecated previews generation

This commit is contained in:
Alejandro Celaya
2019-08-09 18:12:33 +02:00
parent c17c4c1319
commit b7cc460844
10 changed files with 39 additions and 6 deletions

View File

@@ -36,14 +36,14 @@ return [
],
'allowed_methods' => [RequestMethod::METHOD_GET],
],
// Deprecated routes
[
'name' => 'short-url-preview',
'path' => '/{shortCode}/preview',
'middleware' => Action\PreviewAction::class,
'allowed_methods' => [RequestMethod::METHOD_GET],
],
// Old QR code route. Deprecated
[
'name' => 'short-url-qr-code-old',
'path' => '/qr/{shortCode}[/{size:[0-9]+}]',