Browse Source

尝试增加头

sandm 1 năm trước cách đây
mục cha
commit
373cb568c6
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      public/index.php

+ 3 - 0
public/index.php

@@ -10,6 +10,9 @@ 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('Strict-Transport-Security:max-age=180');
+header('X-Download-Options: noopen');
+header('X-Permitted-Cross-Domain-Policies: none');
 define('LARAVEL_START', microtime(true));
 
 /*