Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 将 referrer policy 修改为 same-origin #814

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion web/templates/macro/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<meta name="apple-mobile-web-app-title" content="NAStool">
<meta name="description" content="NAS媒体库管理工具">
<meta name="format-detection" content="telephone=no">
<meta name="referrer" content="never">
<meta name="referrer" content="same-origin">
<meta name="msapplication-TileColor" content="#1e293b"/>
<meta name="theme-color" content="#f1f6fa" media="(prefers-color-scheme: dark)">
<meta name="theme-color" content="#1e293b" media="(prefers-color-scheme: light)">
Expand Down
4 changes: 2 additions & 2 deletions web/templates/test.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<meta name="apple-mobile-web-app-title" content="NAStool">
<meta name="description" content="组件开发效果预览">
<meta name="format-detection" content="telephone=no">
<meta name="referrer" content="never">
<meta name="referrer" content="same-origin">
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="msapplication-TileColor" content="#1e293b"/>
<meta name="theme-color" content="#1e293b"/>
Expand Down Expand Up @@ -58,4 +58,4 @@
</div>
</div>
</body>
</html>
</html>