fix(web): [CSP] upgrade-insecure-requests

This commit is contained in:
Baoshuo Ren 2022-03-16 05:27:06 +00:00 committed by GitHub
parent 090747fa4d
commit c525b570ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,7 @@
<html lang="<?= UOJLocale::locale() ?>">
<head>
<meta charset="utf-8" />
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<?php if (isset($_GET['locale'])): ?>
<meta name="robots" content="noindex, nofollow" />