Browse Source

make locales_url relative (#1012)

ChaosKid42 7 năm trước cách đây
mục cha
commit
1da20577e1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/converse-core.js

+ 1 - 1
src/converse-core.js

@@ -302,7 +302,7 @@
             include_offline_state: false,
             jid: undefined,
             keepalive: true,
-            locales_url: '/locale/{{{locale}}}/LC_MESSAGES/converse.json',
+            locales_url: 'locale/{{{locale}}}/LC_MESSAGES/converse.json',
             locales: [
                 'af', 'ca', 'de', 'es', 'en', 'fr', 'he',
                 'hu', 'id', 'it', 'ja', 'nb', 'nl',