From 527fa5eef102a12359fce86cb35345d3bd212a61 Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Mon, 30 May 2022 12:49:46 +0300 Subject: [PATCH] change endpoint route --- docs/content/advanced/backend/endpoints/add-storefront.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/advanced/backend/endpoints/add-storefront.md b/docs/content/advanced/backend/endpoints/add-storefront.md index 3782e0cb75..adb738edbe 100644 --- a/docs/content/advanced/backend/endpoints/add-storefront.md +++ b/docs/content/advanced/backend/endpoints/add-storefront.md @@ -69,7 +69,7 @@ const corsOptions = { Finally, for each route add `cors` as a middleware for the route passing it `corsOptions`: ```js -router.get("/admin/hello", cors(corsOptions), (req, res) => { +router.get("/store/hello", cors(corsOptions), (req, res) => { //... }) ```