fix(docs): fixed redirects for api reference (#2888)
This commit is contained in:
+20
-4
@@ -3,12 +3,28 @@
|
|||||||
to = "/api/store"
|
to = "/api/store"
|
||||||
|
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "/api/store/*"
|
from = "/api/store/auth/*"
|
||||||
to = "/api/store"
|
to = "/api/store/#tag/Auth"
|
||||||
|
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "/api/admin/*"
|
from = "/api/store/cart/*"
|
||||||
to = "/api/admin"
|
to = "/api/store/#tag/Cart"
|
||||||
|
|
||||||
|
[[redirects]]
|
||||||
|
from = "/api/store/collection/*"
|
||||||
|
to = "/api/store/#tag/Collection"
|
||||||
|
|
||||||
|
[[redirects]]
|
||||||
|
from = "/api/store/product/*"
|
||||||
|
to = "/api/store/#tag/Product"
|
||||||
|
|
||||||
|
[[redirects]]
|
||||||
|
from = "/api/admin/auth/*"
|
||||||
|
to = "/api/admin/#tag/Auth"
|
||||||
|
|
||||||
|
[[redirects]]
|
||||||
|
from = "/api/admin/users/*"
|
||||||
|
to = "/api/admin/#tag/User"
|
||||||
|
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "/how-to/headless-ecommerce-store-with-gatsby-contentful-medusa"
|
from = "/how-to/headless-ecommerce-store-with-gatsby-contentful-medusa"
|
||||||
|
|||||||
Reference in New Issue
Block a user