From 807aa048073a7a8d2909e669dc1dcde166710d69 Mon Sep 17 00:00:00 2001 From: Geometrically <18202329+Geometrically@users.noreply.github.com> Date: Sat, 17 Aug 2024 17:43:12 -0700 Subject: [PATCH] Apple pay support, fix publish key (#2171) * Apple pay support, fix publish key * fix api url --- apps/frontend/nuxt.config.ts | 5 +++++ apps/frontend/src/components/ui/Badge.vue | 3 +++ apps/frontend/src/pages/plus.vue | 6 ++++-- apps/frontend/src/pages/settings/billing/index.vue | 11 ++++++----- apps/frontend/src/pages/user/[id].vue | 1 + .../apple-developer-merchantid-domain-association | 1 + 6 files changed, 20 insertions(+), 7 deletions(-) create mode 100644 apps/frontend/src/public/.well-known/apple-developer-merchantid-domain-association diff --git a/apps/frontend/nuxt.config.ts b/apps/frontend/nuxt.config.ts index b5f32c734..effff5f02 100644 --- a/apps/frontend/nuxt.config.ts +++ b/apps/frontend/nuxt.config.ts @@ -350,6 +350,11 @@ export default defineNuxtConfig({ "unknown", turnstile: { siteKey: "0x4AAAAAAAW3guHM6Eunbgwu" }, + + stripePublishableKey: + process.env.RATE_LIMIT_IGNORE_KEY || + globalThis.STRIPE_PUBLISHABLE_KEY || + "pk_test_51JbFxJJygY5LJFfKV50mnXzz3YLvBVe2Gd1jn7ljWAkaBlRz3VQdxN9mXcPSrFbSqxwAb0svte9yhnsmm7qHfcWn00R611Ce7b", }, }, typescript: { diff --git a/apps/frontend/src/components/ui/Badge.vue b/apps/frontend/src/components/ui/Badge.vue index 9114aca14..c4ad9cfc2 100644 --- a/apps/frontend/src/components/ui/Badge.vue +++ b/apps/frontend/src/components/ui/Badge.vue @@ -6,6 +6,7 @@ + @@ -36,6 +37,7 @@