Use <select> for format list
This commit is contained in:
parent
24bf119a9c
commit
ed7018c957
3 changed files with 22 additions and 20 deletions
|
@ -226,7 +226,7 @@ class FrontController
|
|||
$params = $request->getQueryParams();
|
||||
if (isset($params["url"])) {
|
||||
try {
|
||||
$url = $this->download->getURL($params["url"]);
|
||||
$url = $this->download->getURL($params["url"], $params["format"]);
|
||||
return $response->withRedirect($url);
|
||||
} catch (\Exception $e) {
|
||||
$response->getBody()->write($e->getMessage());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue