add csp policy

This commit is contained in:
amphineko 2019-04-20 04:54:16 +08:00
parent ff3604d8e9
commit b3e28d905e

View File

@ -4,7 +4,9 @@
<head> <head>
<link href="index.css" rel="stylesheet"> <link href="index.css" rel="stylesheet">
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
<meta http-equiv="Content-Security-Policy"
content="default-src 'none'; font-src 'self'; img-src 'self'; style-src 'self';">
<title>about amphineko</title> <title>about amphineko</title>
</head> </head>