From 96f4b2869e9897e17b6d5c80dc9f79693f7063e9 Mon Sep 17 00:00:00 2001 From: m5r Date: Mon, 25 Oct 2021 11:44:43 +0200 Subject: [PATCH] inline paddle public key --- blitz.config.ts | 1 - fly.prod.toml | 2 +- integrations/paddle.ts | 3 ++- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/blitz.config.ts b/blitz.config.ts index 78db045..4467789 100644 --- a/blitz.config.ts +++ b/blitz.config.ts @@ -48,7 +48,6 @@ const { SENTRY_DSN, SENTRY_ORG, SENTRY_PROJECT, SENTRY_AUTH_TOKEN, NODE_ENV, GIT masterEncryptionKey: process.env.MASTER_ENCRYPTION_KEY, paddle: { apiKey: process.env.PADDLE_API_KEY, - publicKey: process.env.PADDLE_PUBLIC_KEY, }, awsSes: { awsRegion: process.env.AWS_SES_REGION, diff --git a/fly.prod.toml b/fly.prod.toml index 5050617..56a64d3 100644 --- a/fly.prod.toml +++ b/fly.prod.toml @@ -16,7 +16,7 @@ processes = [] AWS_S3_REGION = "eu-central-1" AWS_SES_REGION = "eu-central-1" AWS_SES_FROM_EMAIL = """"Mokhtar from Shellphone" """ - QUIRREL_API_URL = "https://queue.mokhtar.dev" + QUIRREL_API_URL = "https://quirrel-prod.fly.dev" QUIRREL_BASE_URL = "www.shellphone.app" APP_BASE_URL = "www.shellphone.app" SENTRY_ORG = "capsule-corp" diff --git a/integrations/paddle.ts b/integrations/paddle.ts index dc47707..c2ecf36 100644 --- a/integrations/paddle.ts +++ b/integrations/paddle.ts @@ -15,7 +15,8 @@ const vendorId = publicRuntimeConfig.paddle.vendorId; const vendorAuthCode = serverRuntimeConfig.paddle.apiKey; export const paddleSdk = new PaddleSdk({ - publicKey: serverRuntimeConfig.paddle.publicKey, + publicKey: + "-----BEGIN PUBLIC KEY-----\nMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAwUABB5uOIIAyJwrJfGIj\nOwueWs4itGIm/5om5HZhbgjGM0f7dnZVBQCCfE+1Dvi9IPkrQaPR83M84JYxRDOA\nbExyg79Lo5nrueinuKtkTOVOCKWmXgtBiuRHGYY90lMhg2I3qY3/DnZDyIyHuprT\n/WU5nVSXP2LLPbOqUjZJysOWIJ2IPbz9no5QdJyge5SudCBa58xa24Us3PiVpmsk\nJ8y0AGxF9AfxFJv/vcUJ0SMnzB6ddWOMcf/fHJwF2urOqU6c66IzJFKf7aytny4n\nqPpNPOkttazUV8ycCXjJAer9peIoTYYcSFqs2pWxg+YSP7EqSSOsqGCuux98q1m7\nBq+eojt9HFMG9ZNaE258gO7G9FhdnLPyMGZC0Q2EeTTohhRNzdzo0iI9BEbVVmLp\nefUZ33IuyDCxtYIiw5vhj/CUBsYhod16GAWLuuCoIfyaGPbaLGGWsecmIsbJx/je\n2MJuHD8PB1f5T9NSLC9MPlptoYlBJjhz7+qBPR8E13aKnRnu7OyDtQ4wi74zPxIr\n0DNcwlbWT3HL7CUDr40glLGx5OxFw4wdIUm6hLy1iC+8vHnY+fyQv+JtaDChP49i\nlSzPrswGaiU/rTkOB6HtGlOci5Skgr1ue1j/lO7y2NcLZMbwDRldGhYXpo0aLQvI\nPzcoXd4HrmEM2friEPLwcn8CAwEAAQ==\n-----END PUBLIC KEY-----", vendorId, vendorAuthCode, metadataCodec: stringifyMetadata(),