瀏覽代碼

尝试设置Referrer-Policy

sandm 1 年之前
父節點
當前提交
033faca658
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      public/index.php

+ 1 - 1
public/index.php

@@ -9,7 +9,7 @@
 header('Access-Control-Allow-Origin: https://rencai.jiangzi.xin');
 header("Access-Control-Allow-Methods:GET, POST, OPTIONS, DELETE");
 header("Access-Control-Allow-Headers:*");
-header('Referrer-Policy','origin');
+header('Referrer-Policy: origin');
 define('LARAVEL_START', microtime(true));
 
 /*