Un-appify the /payments URL
This commit is contained in:
Родитель
f495f67c68
Коммит
5608d36713
|
@ -17,7 +17,7 @@ var server;
|
|||
|
||||
|
||||
exports.buy = function(signedRequest, onPaySuccess, onPayFailure, options) {
|
||||
modalFromURL(server + '/en-US/firefox/payments/pay_start',
|
||||
modalFromURL(server + '/payments/pay_start',
|
||||
{data: {req: signedRequest}});
|
||||
};
|
||||
|
||||
|
@ -33,7 +33,7 @@ setTimeout(function() {
|
|||
}
|
||||
});
|
||||
$.ajax({type: 'GET',
|
||||
url: server + '/en-US/firefox/payments/inject_styles',
|
||||
url: server + '/payments/inject_styles',
|
||||
dataType: 'jsonp',
|
||||
success: function(html) {
|
||||
$('body').append(html);
|
||||
|
|
|
@ -222,8 +222,8 @@ ADMIN_MEDIA_PREFIX = '/admin-media/'
|
|||
# paths that don't require an app prefix
|
||||
SUPPORTED_NONAPPS = ('admin', 'apps', 'blocklist', 'developers', 'editors',
|
||||
'img', 'jsi18n', 'localizers', 'media',
|
||||
'marketplace-experiments', 'robots.txt', 'statistics',
|
||||
'services')
|
||||
'marketplace-experiments', 'payments', 'robots.txt',
|
||||
'statistics', 'services')
|
||||
DEFAULT_APP = 'firefox'
|
||||
|
||||
# paths that don't require a locale prefix
|
||||
|
|
Загрузка…
Ссылка в новой задаче