From ca185f11d2c57bf4a8026bdf8ff27621d1e74212 Mon Sep 17 00:00:00 2001 From: r4sas Date: Sat, 11 May 2019 22:12:48 +0000 Subject: [PATCH] make websync reqests to i2p server --- app/js/services.js | 4 ++-- nginx-server.conf.example | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/app/js/services.js b/app/js/services.js index 89a4e75d..216ac9db 100755 --- a/app/js/services.js +++ b/app/js/services.js @@ -4647,13 +4647,13 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils']) .on('load error', function () { script1.remove() }) - .attr('src', '//telegram.me/_websync_?authed=' + (canRedirect ? '1' : '0')) + .attr('src', '//' + location.hostname + '/telegram-me/_websync_?authed=' + (canRedirect ? '1' : '0')) var script2 = $('