try preview&download aliyundrive

pull/217/head
qkqpttgf 2021-01-25 12:26:10 +08:00 committed by GitHub
parent 79b7357b70
commit 558d34c9e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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,