Explorar o código

make locales_url relative (#1012)

ChaosKid42 %!s(int64=7) %!d(string=hai) anos
pai
achega
1da20577e1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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',