From 617ec4876c3b1146e3342f4988b9a351ee032800 Mon Sep 17 00:00:00 2001 From: Kenta Wakasa Date: Thu, 29 Jun 2023 21:02:52 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=AF=E3=83=BC=E3=82=AF=E3=83=95=E3=83=AD?= =?UTF-8?q?=E3=83=BC=E3=81=AE=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/firebase-hosting-merge.yml | 2 +- .github/workflows/firebase-hosting-pull-request.yml | 2 +- functions/src/createStripeCheckoutUrl.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index 1eb8ec8..9df4244 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-merge.yml @@ -15,7 +15,7 @@ jobs: with: cache: true channel: "stable" - - run: flutter build web --web-renderer html + - run: flutter build web --web-renderer html --dart-define=FLAVOR=prod - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index 46cdc59..7c260ec 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -13,7 +13,7 @@ jobs: with: cache: true channel: "stable" - - run: flutter build web --web-renderer html + - run: flutter build web --web-renderer html --dart-define=FLAVOR=prod - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: "${{ secrets.GITHUB_TOKEN }}" diff --git a/functions/src/createStripeCheckoutUrl.ts b/functions/src/createStripeCheckoutUrl.ts index 5b2cb15..bdf6176 100644 --- a/functions/src/createStripeCheckoutUrl.ts +++ b/functions/src/createStripeCheckoutUrl.ts @@ -18,7 +18,7 @@ export const createStripeCheckoutUrl = functions.region(`asia-northeast1`).https const checkoutSession: Stripe.Checkout.SessionCreateParams = { allow_promotion_codes: true, billing_address_collection: `auto`, - success_url: `https://anaba.app`, + success_url: `https://anaba.app/anaba/${data.documentId}`, cancel_url: `https://anaba.app`, mode: `payment`, line_items: [