From bb5e4d572868f5c0e565b44ee37888d83dc8dbf3 Mon Sep 17 00:00:00 2001 From: ntr Date: Mon, 2 Sep 2019 18:57:46 +1000 Subject: [PATCH] fixed key" --- client/src/app.jsx | 2 +- client/src/components/stripe.buttons.jsx | 8 ++++---- etc/nginx/sites-available/mnml.gg.PRODUCTION.nginx.conf | 1 - 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/client/src/app.jsx b/client/src/app.jsx index 044c2ea1..ad0db010 100644 --- a/client/src/app.jsx +++ b/client/src/app.jsx @@ -30,7 +30,7 @@ document.fonts.load('16pt "Jura"').then(() => { const App = () => ( - + diff --git a/client/src/components/stripe.buttons.jsx b/client/src/components/stripe.buttons.jsx index e760fb6b..0dd1a9ed 100644 --- a/client/src/components/stripe.buttons.jsx +++ b/client/src/components/stripe.buttons.jsx @@ -9,8 +9,8 @@ function BitsBtn(args) { function subscribeClick() { stripe.redirectToCheckout({ items: [{ plan: 'prod_Fjdt7mYvzXkNBN', quantity: 1 }], - successUrl: 'http://mnml.gg', - cancelUrl: 'http://mnml.gg', + successUrl: 'https://mnml.gg', + cancelUrl: 'https://mnml.gg', clientReferenceId: account.id, }); } @@ -18,8 +18,8 @@ function BitsBtn(args) { function bitsClick() { stripe.redirectToCheckout({ items: [{ sku: 'sku_Fjdu7zOy3sLGc5', quantity: 1 }], - successUrl: 'http://mnml.gg', - cancelUrl: 'http://mnml.gg', + successUrl: 'https://mnml.gg', + cancelUrl: 'https://mnml.gg', clientReferenceId: account.id, }); } diff --git a/etc/nginx/sites-available/mnml.gg.PRODUCTION.nginx.conf b/etc/nginx/sites-available/mnml.gg.PRODUCTION.nginx.conf index cce73707..73941ae9 100644 --- a/etc/nginx/sites-available/mnml.gg.PRODUCTION.nginx.conf +++ b/etc/nginx/sites-available/mnml.gg.PRODUCTION.nginx.conf @@ -6,7 +6,6 @@ upstream mnml_ws { server 127.0.0.1:40055; } - map $http_upgrade $connection_upgrade { default upgrade; '' close;