Parcourir la source

fix: 移除 referrer 属性

zhangyuhan il y a 1 an
Parent
commit
84d38f5e1b

+ 0 - 1
src/jfw/modules/app/src/web/templates/weixin/wxinfocontent.html

@@ -4,7 +4,6 @@
     <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
     <meta name="keywords" content="{{.T.obj.keywords}}">
     <meta name="description" content="{{.T.obj.description}}">
-    <meta name="referrer" content="never">
     <title>{{.T.obj.title}} - 剑鱼标讯</title>
     <link href="{{Cdns .Host "seo" "cdn"|SafeUrl}}/jyapp/css/alertPopShow.css?v={{Msg "seo" "version"}}" rel="stylesheet">
     <link href="{{Cdns .Host "seo" "cdn"|SafeUrl}}/jyapp/css/bootstrap.min.css?v={{Msg "seo" "version"}}" rel="stylesheet">

+ 0 - 1
src/web/templates/pc/biddetail.html

@@ -7,7 +7,6 @@
 <meta name="Description" content="{{.T.obj.description}}"/>
 <meta content="telephone=no" name="format-detection"/>
 <meta content="light" theme="light" name="enable-header"/>
-<meta name="referrer" content="never">
 {{include "/common/pnc.html"}}
 <link href="{{Msg "seo" "cdn"}}/css/pc.css?v={{Msg "seo" "version"}}" rel="stylesheet">
 <script src="{{Msg "seo" "cdn"}}/js/jquery.cookie.js"></script>

+ 0 - 1
src/web/templates/pc/biddetail_rec.html

@@ -4,7 +4,6 @@
     <meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
     <meta name="Keywords" content="{{.T.obj.keywords}}"/>
     <meta name="Description" content="{{.T.obj.description}}"/>
-    <meta name="referrer" content="never">
     <meta content="telephone=no" name="format-detection"/>
     <meta content="light" theme="light" name="enable-header"/>
     {{include "/common/pnc.html"}}

+ 1 - 2
src/web/templates/weixin/wxinfocontent.html

@@ -3,7 +3,6 @@
 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
 <meta name="Keywords" content="{{.T.obj.keywords}}"/>
 <meta name="Description" content="{{.T.obj.description}}"/>
-<meta name="referrer" content="never">
 <title>公告信息</title>
 <link href="{{Msg "seo" "cdn"}}/css/bootstrap.min.css" rel="stylesheet">
 <link href="{{Msg "seo" "cdn"}}/wxswordfish/style.css?v={{Msg "seo" "version"}}" rel="stylesheet">
@@ -14,7 +13,7 @@
 <script src="{{Msg "seo" "cdn"}}/js/fastclick.js?v={{Msg "seo" "version"}}"></script>
 <script src="{{Msg "seo" "cdn"}}/js/jquery.cookie.js"></script>
 <script src="{{Msg "seo" "cdn"}}/js/bootstrap.min.js"></script>
-<script src="{{Msg "seo" "cdn"}}/js/common.js?v={{Msg "seo" "version"}}1"></script>
+<script src="{{Msg "seo" "cdn"}}/js/common.js?v={{Msg "seo" "version"}}"></script>
 <script src="{{Msg "seo" "cdn"}}/wxswordfish/share.js?v={{Msg "seo" "version"}}"></script>
 <style type="text/css">
 /* forceShare start */

+ 0 - 1
src/web/templates/weixin/wxinfocontent_rec.html

@@ -3,7 +3,6 @@
   <meta name="Keywords" content="{{.T.obj.keywords}}"/>
   <meta name="Description" content="{{.T.obj.description}}"/>
 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
-<meta name="referrer" content="never">
 <title>公告信息</title>
 <link href="{{Msg "seo" "cdn"}}/css/font.css?v={{Msg "seo" "version"}}" rel="stylesheet">
 <link href="{{Msg "seo" "cdn"}}/css/wxcontentinfo.css?v={{Msg "seo" "version"}}2" rel="stylesheet">