From c056f6f5442d3b0ec29b20f24deb1ad914d2d8f1 Mon Sep 17 00:00:00 2001 From: 石广澎 <shiguangpeng@163.com> Date: 星期五, 30 八月 2024 21:15:27 +0800 Subject: [PATCH] feat(支付): 去除无用代码、依赖 --- index.html | 43 +++++++++++++++++++------------------------ 1 files changed, 19 insertions(+), 24 deletions(-) diff --git a/index.html b/index.html index 6925918..b7f7362 100644 --- a/index.html +++ b/index.html @@ -1,27 +1,22 @@ <!DOCTYPE html> <html lang="zh-CN"> - <head> - <meta charset="utf-8"> - <meta http-equiv="X-UA-Compatible" content="IE=edge"> - <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> - <title> - <%= htmlWebpackPlugin.options.title %> - </title> - <!-- Open Graph data --> - <!-- <meta property="og:title" content="Title Here" /> --> - <!-- <meta property="og:url" content="http://www.example.com/" /> --> - <!-- <meta property="og:image" content="http://example.com/image.jpg" /> --> - <!-- <meta property="og:description" content="Description Here" /> --> - <link rel="stylesheet" href="<%= BASE_URL %>static/index.<%= VUE_APP_INDEX_CSS_HASH %>.css" /> - <script src="https://gw.alipayobjects.com/as/g/h5-lib/alipayjsapi/3.1.1/alipayjsapi.min.js"></script> - <!-- <script src="<%= BASE_URL %>common/jweixin-1.6.0.js"></script> --> - <!-- <script src="https://res2.wx.qq.com/open/js/jweixin-1.6.0.js"></script> --> - </head> - <body> - <noscript> - <strong>Please enable JavaScript to continue.</strong> - </noscript> - <div id="app"></div> - <!-- built files will be auto injected --> - </body> +<head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> + <meta http-equiv="Content-Security-Policy" content="frame-src https://*.qq.com webcompt:;"> + <title> + <%= htmlWebpackPlugin.options.title %> + </title> + <link rel="stylesheet" href="<%= BASE_URL %>static/index.<%= VUE_APP_INDEX_CSS_HASH %>.css"/> + <script src="https://gw.alipayobjects.com/as/g/h5-lib/alipayjsapi/3.1.1/alipayjsapi.min.js"></script> +<!-- <script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>--> +</head> +<body> +<noscript> + <strong>Please enable JavaScript to continue.</strong> +</noscript> +<div id="app"></div> +<!-- built files will be auto injected --> +</body> </html> -- Gitblit v1.9.1