Merge remote-tracking branch 'origin/main'

master
Lei OT 2 years ago
commit c629bafd51

@ -171,6 +171,7 @@
{ name: 'No', value: 0, url: './img/thumbsdown.svg', svg: thumbsDown },
];
const webList = {
"default": 'ah',
"www.asiahighlights.com": 'ah',
"www.globalhighlights.com": 'gh',
};
@ -284,7 +285,7 @@
methods: {
initData() {
var hostname = window.location.hostname.toLowerCase();
this.webcode = webList[hostname];
this.webcode = webList[hostname] || webList.default;
var urlParams = new URLSearchParams(window.location.search);
for (const param of urlParams) {

Loading…
Cancel
Save