Replaced mb3admin.com phoning home with a stub mb3admin.local
This commit is contained in:
parent
7b71249e37
commit
86f6b817fc
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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(),
|
||||
|
|
|
@ -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());
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user