mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-06 23:33:13 +08:00
Updated common and qr-code
This commit is contained in:
@@ -70,8 +70,8 @@ class QrCodeAction implements MiddlewareInterface
|
||||
$size = $this->getSizeParam($request);
|
||||
|
||||
$qrCode = new QrCode((string) $request->getUri()->withPath($path)->withQuery(''));
|
||||
$qrCode->setSize($size)
|
||||
->setPadding(0);
|
||||
$qrCode->setSize($size);
|
||||
$qrCode->setMargin(0);
|
||||
return new QrCodeResponse($qrCode);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user