📝 docs: replace "last lines" to "last directive"

main
welpo 2 years ago
parent 16d69ba0d7
commit 2a681f005f
No known key found for this signature in database
GPG Key ID: A2F978CF4EC1F5A6

@ -1,6 +1,7 @@
+++
title = "Secure by default"
date = 2023-02-22
updated = 2023-03-13
description = "tabi has an easily customizable Content Security Policy (CSP) with safe defaults. Get peace of mind and an A+ on Mozilla Observatory."
[taxonomies]
@ -9,7 +10,7 @@ tags = ["security", "showcase"]
The default configuration of the theme gets an A+ score on [Mozilla Observatory](https://observatory.mozilla.org).
This is accomplished by programatically configuring Content Security Policy (CSP) headers based on a user-defined list of allowed domains in the theme's `config.toml` file. Here's the default and recommended setup (you could remove the last lines if you don't want to embed videos):
This is accomplished by programatically configuring Content Security Policy (CSP) headers based on a user-defined list of allowed domains in the theme's `config.toml` file. Here's the default and recommended setup (you could remove the last directive if you don't want to embed videos):
```
[extra]

Loading…
Cancel
Save