Преглед изворни кода

尝试设置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));
 
 /*