Skip to content

Commit

Permalink
Update API links to HTTPS
Browse files Browse the repository at this point in the history
  • Loading branch information
liorgrossman committed Jul 24, 2023
1 parent 059f9dc commit 269827b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion chrome-extension/html/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@
<!-- The Standard PayPal form (hidden) -->
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank" id="drk_paypal_form">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="notify_url" value="http://lifehacklabs.org/api/ipn">
<input type="hidden" name="notify_url" value="https://lifehacklabs.org/api/ipn">
<input type="hidden" name="custom" id="drk_paypal_custom" value='{}'>
<input type="hidden" name="hosted_button_id" id="drk_paypal_button_id" value="Z9BBUN4PDFGKQ">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
Expand Down
6 changes: 3 additions & 3 deletions chrome-extension/js/background/payments.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ var PaymentsFactory = function() {
});
}
};
sendHttpPostRequest('http://lifehacklabs.org/api/' + _appName + '/check-promo-code', params, onServerResponse);
sendHttpPostRequest('https://lifehacklabs.org/api/' + _appName + '/check-promo-code', params, onServerResponse);
};

// PUBLIC FUNCTION: Get the SKU
Expand Down Expand Up @@ -417,7 +417,7 @@ var PaymentsFactory = function() {
return logError("No data found in response", res);
}
};
sendHttpPostRequest('http://lifehacklabs.org/api/' + _appName + '/check-user-paypal-status', params, onServerResponse);
sendHttpPostRequest('https://lifehacklabs.org/api/' + _appName + '/check-user-paypal-status', params, onServerResponse);
};


Expand All @@ -429,4 +429,4 @@ var PaymentsFactory = function() {
// Get the construcor
var PaymentsConstructor = new PaymentsFactory();
// Run the constructor
var Payments = new PaymentsConstructor(CONFIG.appName);
var Payments = new PaymentsConstructor(CONFIG.appName);
2 changes: 1 addition & 1 deletion chrome-extension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "__MSG_appFullName__",
"short_name": "__MSG_appShortName__",
"description": "__MSG_appDescription__",
"version": "2.0.31",
"version": "2.0.32",
"author": "Darkness",
"homepage_url": "https://darkness.app",
"default_locale": "en",
Expand Down

0 comments on commit 269827b

Please sign in to comment.