From c51b849fe688e3653d565d4d2830d4ef4634f122 Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Wed, 15 Mar 2023 12:47:24 +0100 Subject: [PATCH] fix hostname --- static/js/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/static/js/index.js b/static/js/index.js index c44c4ca..8edc055 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -9,8 +9,6 @@ var locationPath = [ window.location.pathname ].join('') -var domain = window.location.hostname - var mapPayLink = obj => { obj._data = _.clone(obj) obj.date = Quasar.utils.date.formatDate( @@ -28,7 +26,7 @@ new Vue({ mixins: [windowMixin], data() { return { - domain: domain, + domain: window.location.host, currencies: [], fiatRates: {}, checker: null,