mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-25 03:48: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() ?>">
|
||||
<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" />
|
||||
|
Loading…
Reference in New Issue
Block a user