mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-08 16:08:41 +00:00
fix(web): [CSP] upgrade-insecure-requests
This commit is contained in:
parent
090747fa4d
commit
c525b570ad
@ -33,6 +33,7 @@
|
|||||||
<html lang="<?= UOJLocale::locale() ?>">
|
<html lang="<?= UOJLocale::locale() ?>">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
|
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<?php if (isset($_GET['locale'])): ?>
|
<?php if (isset($_GET['locale'])): ?>
|
||||||
<meta name="robots" content="noindex, nofollow" />
|
<meta name="robots" content="noindex, nofollow" />
|
||||||
|
Loading…
Reference in New Issue
Block a user