stripe url
This commit is contained in:
parent
cfd5e7d3f7
commit
f72a9b85a5
@ -19,8 +19,8 @@ function BitsBtn(args) {
|
|||||||
function subscribeClick(e) {
|
function subscribeClick(e) {
|
||||||
stripe.redirectToCheckout({
|
stripe.redirectToCheckout({
|
||||||
items: [{plan: 'plan_FGmRwawcOJJ7Nv', quantity: 1}],
|
items: [{plan: 'plan_FGmRwawcOJJ7Nv', quantity: 1}],
|
||||||
successUrl: 'http://localhost:40080/payments/success',
|
successUrl: 'http://localhost/payments/success',
|
||||||
cancelUrl: 'http://localhost:40080/payments/cancel',
|
cancelUrl: 'http://localhost/payments/cancel',
|
||||||
clientReferenceId: account.id
|
clientReferenceId: account.id
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -28,8 +28,8 @@ function BitsBtn(args) {
|
|||||||
function bitsClick(e) {
|
function bitsClick(e) {
|
||||||
stripe.redirectToCheckout({
|
stripe.redirectToCheckout({
|
||||||
items: [{sku: 'sku_FHUfNEhWQaVDaT', quantity: 1}],
|
items: [{sku: 'sku_FHUfNEhWQaVDaT', quantity: 1}],
|
||||||
successUrl: 'http://localhost:40080/payments/success',
|
successUrl: 'http://localhost/payments/success',
|
||||||
cancelUrl: 'http://localhost:40080/payments/cancel',
|
cancelUrl: 'http://localhost/payments/cancel',
|
||||||
clientReferenceId: account.id
|
clientReferenceId: account.id
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -17,6 +17,11 @@ server {
|
|||||||
try_files $uri $uri/ =404;
|
try_files $uri $uri/ =404;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /imgs/ {
|
||||||
|
root /var/lib/mnml/public/;
|
||||||
|
try_files $uri $uri/ =404;
|
||||||
|
}
|
||||||
|
|
||||||
location /api/ws {
|
location /api/ws {
|
||||||
proxy_pass http://mnml;
|
proxy_pass http://mnml;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user