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:
Paul
2025-09-30 13:22:28 +01:00
committed by GitHub
parent ef4874b9a0
commit d7888df30e
3 changed files with 6 additions and 6 deletions

View File

@@ -31,7 +31,7 @@ export function getValidTemplates(): ProjectTemplate[] {
name: 'ecommerce',
type: 'starter',
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',

View File

@@ -125,16 +125,16 @@ export const seed = async ({
const [imageHatBuffer, imageTshirtBlackBuffer, imageTshirtWhiteBuffer, heroBuffer] =
await Promise.all([
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(
'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(
'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(
'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',
),
])

View File

@@ -1,6 +1,6 @@
# Payload Cloudflare Template
[![Deploy to Cloudflare](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/payloadcms/payload/tree/feat/add-d1-adapter/templates/with-cloudflare-d1)
[![Deploy to Cloudflare](https://deploy.workers.cloudflare.com/button)](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.