inline paddle public key

This commit is contained in:
m5r 2021-10-25 11:44:43 +02:00
parent 52732847fc
commit 96f4b2869e
3 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,6 @@ const { SENTRY_DSN, SENTRY_ORG, SENTRY_PROJECT, SENTRY_AUTH_TOKEN, NODE_ENV, GIT
masterEncryptionKey: process.env.MASTER_ENCRYPTION_KEY, masterEncryptionKey: process.env.MASTER_ENCRYPTION_KEY,
paddle: { paddle: {
apiKey: process.env.PADDLE_API_KEY, apiKey: process.env.PADDLE_API_KEY,
publicKey: process.env.PADDLE_PUBLIC_KEY,
}, },
awsSes: { awsSes: {
awsRegion: process.env.AWS_SES_REGION, awsRegion: process.env.AWS_SES_REGION,

View File

@ -16,7 +16,7 @@ processes = []
AWS_S3_REGION = "eu-central-1" AWS_S3_REGION = "eu-central-1"
AWS_SES_REGION = "eu-central-1" AWS_SES_REGION = "eu-central-1"
AWS_SES_FROM_EMAIL = """"Mokhtar from Shellphone" <mokhtar@shellphone.app>""" AWS_SES_FROM_EMAIL = """"Mokhtar from Shellphone" <mokhtar@shellphone.app>"""
QUIRREL_API_URL = "https://queue.mokhtar.dev" QUIRREL_API_URL = "https://quirrel-prod.fly.dev"
QUIRREL_BASE_URL = "www.shellphone.app" QUIRREL_BASE_URL = "www.shellphone.app"
APP_BASE_URL = "www.shellphone.app" APP_BASE_URL = "www.shellphone.app"
SENTRY_ORG = "capsule-corp" SENTRY_ORG = "capsule-corp"

View File

@ -15,7 +15,8 @@ const vendorId = publicRuntimeConfig.paddle.vendorId;
const vendorAuthCode = serverRuntimeConfig.paddle.apiKey; const vendorAuthCode = serverRuntimeConfig.paddle.apiKey;
export const paddleSdk = new PaddleSdk({ 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, vendorId,
vendorAuthCode, vendorAuthCode,
metadataCodec: stringifyMetadata(), metadataCodec: stringifyMetadata(),