Skip to content

Commit

Permalink
Update Headers.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Simbiat committed Mar 17, 2021
1 parent 49a5f2f commit e37c1b8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Headers.php
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,6 @@ public function security(string $strat = 'strict', array $allowOrigins = [], arr
header('Content-Security-Policy-Report-Only: '.trim($cspLine));
}
}

header('Link: <https://'.$_SERVER['HTTP_HOST'].str_ireplace('?onepager', '', $_SERVER['REQUEST_URI']).'>; rel=canonical;', false);
return $this;
}

Expand Down

0 comments on commit e37c1b8

Please sign in to comment.