chore: update templates and docs links (#13971)
Updates the templates and docs links for d1 and ecommerce post PR merge to `/main`
This commit is contained in:
@@ -31,7 +31,7 @@ export function getValidTemplates(): ProjectTemplate[] {
|
|||||||
name: 'ecommerce',
|
name: 'ecommerce',
|
||||||
type: 'starter',
|
type: 'starter',
|
||||||
description: 'Ecommerce template',
|
description: 'Ecommerce template',
|
||||||
url: 'https://github.com/payloadcms/payload/templates/ecommerce#feat/ecommerce-template',
|
url: 'https://github.com/payloadcms/payload/templates/ecommerce#main',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'plugin',
|
name: 'plugin',
|
||||||
|
|||||||
@@ -125,16 +125,16 @@ export const seed = async ({
|
|||||||
const [imageHatBuffer, imageTshirtBlackBuffer, imageTshirtWhiteBuffer, heroBuffer] =
|
const [imageHatBuffer, imageTshirtBlackBuffer, imageTshirtWhiteBuffer, heroBuffer] =
|
||||||
await Promise.all([
|
await Promise.all([
|
||||||
fetchFileByURL(
|
fetchFileByURL(
|
||||||
'https://raw.githubusercontent.com/payloadcms/payload/refs/heads/feat/ecommerce-template/templates/ecommerce/src/endpoints/seed/hat-logo.png',
|
'https://raw.githubusercontent.com/payloadcms/payload/refs/heads/main/templates/ecommerce/src/endpoints/seed/hat-logo.png',
|
||||||
),
|
),
|
||||||
fetchFileByURL(
|
fetchFileByURL(
|
||||||
'https://raw.githubusercontent.com/payloadcms/payload/refs/heads/feat/ecommerce-template/templates/ecommerce/src/endpoints/seed/tshirt-black.png',
|
'https://raw.githubusercontent.com/payloadcms/payload/refs/heads/main/templates/ecommerce/src/endpoints/seed/tshirt-black.png',
|
||||||
),
|
),
|
||||||
fetchFileByURL(
|
fetchFileByURL(
|
||||||
'https://raw.githubusercontent.com/payloadcms/payload/refs/heads/feat/ecommerce-template/templates/ecommerce/src/endpoints/seed/tshirt-white.png',
|
'https://raw.githubusercontent.com/payloadcms/payload/refs/heads/main/templates/ecommerce/src/endpoints/seed/tshirt-white.png',
|
||||||
),
|
),
|
||||||
fetchFileByURL(
|
fetchFileByURL(
|
||||||
'https://raw.githubusercontent.com/payloadcms/payload/refs/heads/feat/ecommerce-template/templates/website/src/endpoints/seed/image-hero1.webp',
|
'https://raw.githubusercontent.com/payloadcms/payload/refs/heads/main/templates/website/src/endpoints/seed/image-hero1.webp',
|
||||||
),
|
),
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Payload Cloudflare Template
|
# Payload Cloudflare Template
|
||||||
|
|
||||||
[](https://deploy.workers.cloudflare.com/?url=https://github.com/payloadcms/payload/tree/feat/add-d1-adapter/templates/with-cloudflare-d1)
|
[](https://deploy.workers.cloudflare.com/?url=https://github.com/payloadcms/payload/tree/main/templates/with-cloudflare-d1)
|
||||||
|
|
||||||
This template comes configured with the bare minimum to get started on anything you need.
|
This template comes configured with the bare minimum to get started on anything you need.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user