feat(seo): generate slugs for brands, categories and products, add GET /sitemap and the Postman collection
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
$kind: http-example
|
||||
request:
|
||||
url: "{{baseUrl}}/sitemap"
|
||||
method: GET
|
||||
headers:
|
||||
Accept: application/json
|
||||
response:
|
||||
statusCode: 200
|
||||
statusText: OK
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Cache-Control: public, max-age=600
|
||||
body:
|
||||
type: json
|
||||
content: |
|
||||
{
|
||||
"brands": [{ "slug": "stray-kids", "updatedAt": "2026-11-08T10:00:00.000Z" }],
|
||||
"categories": [{ "slug": "albums", "updatedAt": "2026-11-08T10:00:00.000Z" }],
|
||||
"products": [{ "slug": "ate-digipack", "updatedAt": "2026-11-08T10:00:00.000Z" }]
|
||||
}
|
||||
order: 1000
|
||||
Reference in New Issue
Block a user