From d6421a56c93655047a9c52205cdff1f675877f1f Mon Sep 17 00:00:00 2001 From: Florian Dieminger Date: Tue, 25 Apr 2023 12:41:21 +0200 Subject: [PATCH] fix(cloud-function): fix fxa webhooks (#8706) Remove the trailing slash in the proxy route. --- cloud-function/src/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud-function/src/app.ts b/cloud-function/src/app.ts index e802f83f9978..fa94145b3039 100644 --- a/cloud-function/src/app.ts +++ b/cloud-function/src/app.ts @@ -25,7 +25,7 @@ router.all( handleStripePlans ); router.all( - ["/api/*", "/admin-api/*", "/events/fxa/*", "/users/fxa/*"], + ["/api/*", "/admin-api/*", "/events/fxa", "/users/fxa/*"], requireOrigin(Origin.main), proxyApi );