소스 검색

尝试设置Referrer-Policy

sandm 1 년 전
부모
커밋
4384af1c63
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      public/index.php

+ 1 - 0
public/index.php

@@ -9,6 +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');
 define('LARAVEL_START', microtime(true));
 
 /*