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

@ -41,7 +41,7 @@ define(["jQuery", "loading", "libraryMenu", "globalize", "connectionManager", "e
if (regStatus += "</p>", $("#regStatus", page).html(regStatus), pluginSecurityInfo.IsMBSupporter)
if ($(".premiumDescription", page).hide(), $(".supporterDescription", page).hide(), pkg.price > 0) {
$(".premiumHasPrice", page).show(), $("#featureId", page).val(pkg.featureId), $("#featureName", page).val(pkg.name), $("#amount", page).val(pkg.price), $("#regPrice", page).html("<h3>" + globalize.translate("ValuePriceUSD").replace("{0}", "$" + pkg.price.toFixed(2)) + "</h3>"), $("#ppButton", page).hide();
var url = "https://mb3admin.com/admin/service/user/getPayPalEmail?id=" + pkg.owner;
var url = "https://mb3admin.local/admin/service/user/getPayPalEmail?id=" + pkg.owner;
fetch(url).then(function(response) {
return response.json()
}).then(function(dev) {

View file

@ -38,7 +38,7 @@ define(["fetchHelper", "dom", "registrationServices", "loading", "confirm", "glo
function getPremiereStatus(key) {
var postData = "key=" + key + "&serverId=" + ApiClient.serverId();
return fetchHelper.ajax({
url: "https://mb3admin.com/admin/service/registration/getStatus",
url: "https://mb3admin.local/admin/service/registration/getStatus",
type: "POST",
data: postData,
contentType: "application/x-www-form-urlencoded",
@ -69,7 +69,7 @@ define(["fetchHelper", "dom", "registrationServices", "loading", "confirm", "glo
console.log("after confirm");
var postData = "key=" + key + "&feature=" + feature;
fetchHelper.ajax({
url: "https://mb3admin.com/admin/service/stripe/requestSubCancel",
url: "https://mb3admin.local/admin/service/stripe/requestSubCancel",
type: "POST",
data: postData,
contentType: "application/x-www-form-urlencoded"
@ -90,7 +90,7 @@ define(["fetchHelper", "dom", "registrationServices", "loading", "confirm", "glo
loading.show();
var form = this,
email = form.querySelector("#txtEmail").value,
url = "https://mb3admin.com/admin/service/supporter/retrievekey?email=" + email;
url = "https://mb3admin.local/admin/service/supporter/retrievekey?email=" + email;
return console.log(url), fetchHelper.ajax({
url: url,
type: "POST",