change endpoint route

This commit is contained in:
Shahed Nasser
2022-05-30 12:49:46 +03:00
committed by GitHub
parent 8c00e9673a
commit 527fa5eef1
@@ -69,7 +69,7 @@ const corsOptions = {
Finally, for each route add `cors` as a middleware for the route passing it `corsOptions`: Finally, for each route add `cors` as a middleware for the route passing it `corsOptions`:
```js ```js
router.get("/admin/hello", cors(corsOptions), (req, res) => { router.get("/store/hello", cors(corsOptions), (req, res) => {
//... //...
}) })
``` ```