fix routing on app load

This commit is contained in:
Jonas Heinrich 2020-10-21 10:02:38 +02:00
parent 890b8b8e11
commit 6101ac76fe
2 changed files with 9 additions and 0 deletions

View File

@ -28,6 +28,10 @@ return [
], ],
'routes' => [ 'routes' => [
['name' => 'page#index', 'url' => '/', 'verb' => 'GET'], ['name' => 'page#index', 'url' => '/', 'verb' => 'GET'],
['name' => 'page#index', 'url' => '/top', 'verb' => 'GET', 'postfix' => 'top'],
['name' => 'page#index', 'url' => '/recent', 'verb' => 'GET', 'postfix' => 'recent'],
['name' => 'page#index', 'url' => '/favorites', 'verb' => 'GET', 'postfix' => 'favorites'],
['name' => 'page#index', 'url' => '/categories', 'verb' => 'GET', 'postfix' => 'categories'],
['name' => 'radio_api#preflighted_cors', 'url' => '/api/0.1/{path}', ['name' => 'radio_api#preflighted_cors', 'url' => '/api/0.1/{path}',
'verb' => 'OPTIONS', 'requirements' => ['path' => '.+']] 'verb' => 'OPTIONS', 'requirements' => ['path' => '.+']]
] ]

View File

@ -101,6 +101,11 @@ table {
width: 100%; width: 100%;
} }
th:first-child {
padding: 0px;
width: 72px;
}
} }
tbody { tbody {