From 304db45c570bef82d49f9193bcef619c5cfe3867 Mon Sep 17 00:00:00 2001 From: Arlen Johnson Date: Wed, 22 Jan 2025 14:37:01 -0500 Subject: [PATCH] Add recommended HTTP headers and move them to an element. (CO-2720) --- app/templates/element/httpHeaders.php | 42 +++++++++++++++++++++++++++ app/templates/layout/default.php | 13 ++------- app/templates/layout/error.php | 1 + 3 files changed, 45 insertions(+), 11 deletions(-) create mode 100644 app/templates/element/httpHeaders.php diff --git a/app/templates/element/httpHeaders.php b/app/templates/element/httpHeaders.php new file mode 100644 index 000000000..bcf393a49 --- /dev/null +++ b/app/templates/element/httpHeaders.php @@ -0,0 +1,42 @@ +element('httpHeaders'); ?> diff --git a/app/templates/layout/error.php b/app/templates/layout/error.php index 747ad0331..39b0906ff 100644 --- a/app/templates/layout/error.php +++ b/app/templates/layout/error.php @@ -12,6 +12,7 @@ * @since 0.10.0 * @license https://opensource.org/licenses/mit-license.php MIT License */ + print $this->element('httpHeaders'); ?>