try preview&download aliyundrive
parent
79b7357b70
commit
558d34c9e3
|
@ -814,6 +814,8 @@ function needUpdate()
|
|||
|
||||
function output($body, $statusCode = 200, $headers = ['Content-Type' => 'text/html'], $isBase64Encoded = false)
|
||||
{
|
||||
//$headers['Referrer-Policy'] = 'same-origin';
|
||||
$headers['Referrer-Policy'] = 'no-referrer';
|
||||
return [
|
||||
'isBase64Encoded' => $isBase64Encoded,
|
||||
'statusCode' => $statusCode,
|
||||
|
|
Loading…
Reference in New Issue