aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-03-29 12:53:08 +0800
committerkumavis <aaron@kumavis.me>2018-03-29 12:53:08 +0800
commit8760dc6bdac3e20a426853bc3f26b4b74a7bde95 (patch)
tree02a8a415b98cf89ad19634f359c07e266c56c15e /ui
parentfbdf497487e7d5b653d6eb36e92d917e935a6935 (diff)
downloadtangerine-wallet-browser-8760dc6bdac3e20a426853bc3f26b4b74a7bde95.tar
tangerine-wallet-browser-8760dc6bdac3e20a426853bc3f26b4b74a7bde95.tar.gz
tangerine-wallet-browser-8760dc6bdac3e20a426853bc3f26b4b74a7bde95.tar.bz2
tangerine-wallet-browser-8760dc6bdac3e20a426853bc3f26b4b74a7bde95.tar.lz
tangerine-wallet-browser-8760dc6bdac3e20a426853bc3f26b4b74a7bde95.tar.xz
tangerine-wallet-browser-8760dc6bdac3e20a426853bc3f26b4b74a7bde95.tar.zst
tangerine-wallet-browser-8760dc6bdac3e20a426853bc3f26b4b74a7bde95.zip
ui - use relative url for i18n-helper fetching locales
Diffstat (limited to 'ui')
-rw-r--r--ui/i18n-helper.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/i18n-helper.js b/ui/i18n-helper.js
index 3ce24ddfb..db2fd2dc4 100644
--- a/ui/i18n-helper.js
+++ b/ui/i18n-helper.js
@@ -27,7 +27,7 @@ const getMessage = (locale, key, substitutions) => {
function fetchLocale (localeName) {
return new Promise((resolve, reject) => {
- return fetch(`/_locales/${localeName}/messages.json`)
+ return fetch(`./_locales/${localeName}/messages.json`)
.then(response => response.json())
.then(
locale => resolve(locale),