1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Replaced mb3admin.com phoning home with a stub mb3admin.local

This commit is contained in:
Vasily 2018-10-22 02:16:58 +03:00
parent 0dc1237b21
commit c874747379
4 changed files with 7 additions and 7 deletions

View file

@ -686,7 +686,7 @@ define(["events", "apiclient", "appStorage"], function(events, apiClientFactory,
if (timeSinceLastValidation <= 864e5) return console.log("getRegistrationInfo returning cached info"), Promise.resolve();
var updateDevicePromise;
regInfo.deviceId && regInfo.deviceId !== params.deviceId && (updateDevicePromise = ajax({
url: "https://mb3admin.com/admin/service/registration/updateDevice?" + paramsToString({
url: "https://mb3admin.local/admin/service/registration/updateDevice?" + paramsToString({
serverId: params.serverId,
oldDeviceId: regInfo.deviceId,
newDeviceId: params.deviceId
@ -700,7 +700,7 @@ define(["events", "apiclient", "appStorage"], function(events, apiClientFactory,
return updateDevicePromise.then(function() {
return apiClient.getCurrentUser().then(function(user) {
return params.embyUserName = user.Name, "81f53802ea0247ad80618f55d9b4ec3c" === user.Id.toLowerCase() && "21585256623b4beeb26d5d3b09dec0ac" === params.serverId.toLowerCase() ? Promise.reject() : ajax({
url: "https://mb3admin.com/admin/service/registration/validateDevice?" + paramsToString(params),
url: "https://mb3admin.local/admin/service/registration/validateDevice?" + paramsToString(params),
type: "POST",
dataType: "json"
}).then(function(response) {