change endpoint route

This commit is contained in:
Shahed Nasser authored and GitHub committed 2022-05-30 12:49:46 +03:00
1 parent 8c00e9673a
commit 527fa5eef1
1 file changed
+1 -1
@@ -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) => {
//...
})
```