From 45a539e5e9e8768b84317d127e8d057d57b08548 Mon Sep 17 00:00:00 2001 From: Florian Dieminger Date: Tue, 25 Apr 2023 12:30:49 +0200 Subject: [PATCH] fix(cloud-function): fix fxa webhooks 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 );