20261008
This commit is contained in:
@@ -10,6 +10,18 @@
|
||||
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
|
||||
(coverSupport ? ', viewport-fit=cover' : '') + '" />')
|
||||
</script>
|
||||
<script>
|
||||
(function () {
|
||||
var mobileHost = 'm.jinjiuxinzg.cn';
|
||||
var ua = navigator.userAgent || '';
|
||||
var isMobile = /Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini|Mobile/i.test(ua) ||
|
||||
(navigator.maxTouchPoints > 1 && window.innerWidth <= 768);
|
||||
|
||||
if (isMobile && location.hostname !== mobileHost) {
|
||||
location.replace('https://' + mobileHost + '/');
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
<title>
|
||||
<%= htmlWebpackPlugin.options.title %>
|
||||
</title>
|
||||
|
||||
Reference in New Issue
Block a user