aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasily <just.one.man@yandex.ru>2018-10-22 02:16:58 +0300
committerVasily <just.one.man@yandex.ru>2018-10-22 02:16:58 +0300
commit86f6b817fc1534e0816cf75421e88ac81f37bd4b (patch)
tree6d7165baa1667473e4a70e5ea8ccdaadd985c73e
parent7b71249e37138eee75569a4a7e2fd16bfc244e65 (diff)
Replaced mb3admin.com phoning home with a stub mb3admin.local
-rw-r--r--Emby.Server.Implementations/EntryPoints/UsageReporter.cs2
-rw-r--r--Emby.Server.Implementations/Security/PluginSecurityManager.cs4
-rw-r--r--Emby.Server.Implementations/Updates/InstallationManager.cs4
-rw-r--r--MediaBrowser.Api/StartupWizardService.cs2
4 files changed, 6 insertions, 6 deletions
diff --git a/Emby.Server.Implementations/EntryPoints/UsageReporter.cs b/Emby.Server.Implementations/EntryPoints/UsageReporter.cs
index 86b335b77..d9c9e1a40 100644
--- a/Emby.Server.Implementations/EntryPoints/UsageReporter.cs
+++ b/Emby.Server.Implementations/EntryPoints/UsageReporter.cs
@@ -18,7 +18,7 @@ namespace Emby.Server.Implementations.EntryPoints
private readonly IServerApplicationHost _applicationHost;
private readonly IHttpClient _httpClient;
private readonly ILogger _logger;
- private const string MbAdminUrl = "https://www.mb3admin.com/admin/";
+ private const string MbAdminUrl = "https://www.mb3admin.local/admin/";
public UsageReporter(IServerApplicationHost applicationHost, IHttpClient httpClient, ILogger logger)
{
diff --git a/Emby.Server.Implementations/Security/PluginSecurityManager.cs b/Emby.Server.Implementations/Security/PluginSecurityManager.cs
index af754d8cb..8d8d6700e 100644
--- a/Emby.Server.Implementations/Security/PluginSecurityManager.cs
+++ b/Emby.Server.Implementations/Security/PluginSecurityManager.cs
@@ -23,8 +23,8 @@ namespace Emby.Server.Implementations.Security
/// </summary>
public class PluginSecurityManager : ISecurityManager
{
- private const string MBValidateUrl = "https://mb3admin.com/admin/service/registration/validate";
- private const string AppstoreRegUrl = /*MbAdmin.HttpsUrl*/ "https://mb3admin.com/admin/service/appstore/register";
+ private const string MBValidateUrl = "https://mb3admin.local/admin/service/registration/validate";
+ private const string AppstoreRegUrl = /*MbAdmin.HttpsUrl*/ "https://mb3admin.local/admin/service/appstore/register";
public async Task<bool> IsSupporter()
{
diff --git a/Emby.Server.Implementations/Updates/InstallationManager.cs b/Emby.Server.Implementations/Updates/InstallationManager.cs
index 435bcfd04..a23166647 100644
--- a/Emby.Server.Implementations/Updates/InstallationManager.cs
+++ b/Emby.Server.Implementations/Updates/InstallationManager.cs
@@ -178,7 +178,7 @@ namespace Emby.Server.Implementations.Updates
var options = new HttpRequestOptions
{
- Url = "https://www.mb3admin.com/admin/service/package/retrieveall?includeAllRuntimes=true",
+ Url = "https://www.mb3admin.local/admin/service/package/retrieveall?includeAllRuntimes=true",
CancellationToken = cancellationToken
};
@@ -213,7 +213,7 @@ namespace Emby.Server.Implementations.Updates
{
using (var response = await _httpClient.SendAsync(new HttpRequestOptions
{
- Url = "https://www.mb3admin.com/admin/service/EmbyPackages.json",
+ Url = "https://www.mb3admin.local/admin/service/EmbyPackages.json",
CancellationToken = cancellationToken,
Progress = new SimpleProgress<Double>(),
CacheLength = GetCacheLength(),
diff --git a/MediaBrowser.Api/StartupWizardService.cs b/MediaBrowser.Api/StartupWizardService.cs
index 61d9a90d6..425eb2ef0 100644
--- a/MediaBrowser.Api/StartupWizardService.cs
+++ b/MediaBrowser.Api/StartupWizardService.cs
@@ -78,7 +78,7 @@ namespace MediaBrowser.Api
{
try
{
- var url = string.Format("http://www.mb3admin.com/admin/service/package/installed?mac={0}&product=MBServer&operation=Install&version={1}",
+ var url = string.Format("http://www.mb3admin.local/admin/service/package/installed?mac={0}&product=MBServer&operation=Install&version={1}",
_appHost.SystemId,
_appHost.ApplicationVersion.ToString());