diff options
| author | Jan Tuomi <jan.tuomi@eficode.com> | 2020-02-05 11:35:13 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan.tuomi@eficode.com> | 2020-02-05 11:35:13 +0200 |
| commit | 81573cd2c7d7d7a5f7237c4283ba97a55300aa4d (patch) | |
| tree | 5076d326c317757ff22d5b3b4569f79203656355 /frontend/public | |
| parent | 2011d3f6f9938825a36670779fa0d7894bda338f (diff) | |
Implement CSP
Diffstat (limited to 'frontend/public')
| -rw-r--r-- | frontend/public/index.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/frontend/public/index.html b/frontend/public/index.html index aa069f2..cc94d49 100644 --- a/frontend/public/index.html +++ b/frontend/public/index.html @@ -5,6 +5,9 @@ <link rel="icon" href="%PUBLIC_URL%/favicon.ico" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="theme-color" content="#000000" /> + <meta http-equiv="Content-Security-Policy" content="default-src 'self' localhost:4000; + style-src 'self' 'unsafe-inline'; + img-src * data:;" /> <meta name="description" content="Web site created using create-react-app" |
