Skip to content

Commit

Permalink
migrate from jsdelivr to cloudflare
Browse files Browse the repository at this point in the history
fix protocol init for geetest captcha
fix menu initialization
  • Loading branch information
BuyOwnEx committed May 20, 2024
1 parent 87aa40f commit bedf5bd
Show file tree
Hide file tree
Showing 4 changed files with 365 additions and 365 deletions.
2 changes: 1 addition & 1 deletion resources/js/components/layout/navigation/MainMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export default {
else
{
if(!this.product.enabledSupport)
return this.items.filter(item => (item.key !== 'menu.fiat_transactions' || item.key !== 'menu.support'));
return this.items.filter(item => (item.key !== 'menu.fiat_transactions' && item.key !== 'menu.support'));
else return this.items.filter(item => item.key !== 'menu.fiat_transactions');
}
},
Expand Down
2 changes: 1 addition & 1 deletion resources/js/configs/icons.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default [
// Community Material Design Icons | http://materialdesignicons.com/
'https://cdn.jsdelivr.net/npm/@mdi/[email protected]/css/materialdesignicons.min.css'
'https://cdnjs.cloudflare.com/ajax/libs/MaterialDesign-Webfont/7.4.47/css/materialdesignicons.min.css'
];
2 changes: 1 addition & 1 deletion resources/js/pages/auth/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export default {
captchaId: res.data.captcha_id,
product: res.data.product,
language: this.getGeetestLang(self.$i18n.locale),
protocol: 'http://'
protocol: window.location.protocol+'//'
}, handler);
})
}
Expand Down
Loading

0 comments on commit bedf5bd

Please sign in to comment.