From ebcaec1166c1096c234692a5e4f18f65d92a9a1e Mon Sep 17 00:00:00 2001 From: Lauren Zugai Date: Mon, 24 Jul 2023 12:50:07 -0500 Subject: [PATCH] fix(content-server): Update ':locale/legal/privacy' route Because: * We are incorrectly redirecting users to legal/terms This commit: * Updates content-server router to direct to the correct path fixes FXA-8050 --- packages/fxa-content-server/app/scripts/lib/router.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fxa-content-server/app/scripts/lib/router.js b/packages/fxa-content-server/app/scripts/lib/router.js index fbb49a34285..28ac72e948b 100644 --- a/packages/fxa-content-server/app/scripts/lib/router.js +++ b/packages/fxa-content-server/app/scripts/lib/router.js @@ -213,7 +213,7 @@ Router = Router.extend({ }); }, ':lang/legal/privacy(/)': function () { - this.createReactOrBackboneViewHandler(`legal/terms`, 'pp', { + this.createReactOrBackboneViewHandler('legal/privacy', 'pp', { contentRedirect: true, }); },