Skip to content

Commit

Permalink
setup site url so that it points to our temporary Vercel deployment URL
Browse files Browse the repository at this point in the history
  • Loading branch information
ob6160 committed May 27, 2024
1 parent 5853a62 commit 2319fed
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions contentlayer.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ export const Post = defineDocumentType(() => ({

export const Page = defineDocumentType(() => ({
name: 'Page',
filePathPattern: `pages/**/*.mdx`,
contentType: 'mdx',
filePathPattern: `pages/**/*.md`,
contentType: 'markdown',
fields: {
title: { type: 'string', required: true },
date: { type: 'date', required: true },
Expand Down
10 changes: 5 additions & 5 deletions public/admin/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ backend:
name: github
repo: public-convenience-ltd/toiletmap
branch: ob/decap
site_domain: toiletmap.org.uk
base_url: https://toiletmap.org.uk
site_domain: toiletmap-git-ob-decap-public-convenience-ltd.vercel.app/
base_url: https://toiletmap-git-ob-decap-public-convenience-ltd.vercel.app
auth_endpoint: api/decap-oauth
site_url: https://toiletmap.org.uk/
display_url: https://toiletmap.org.uk/
site_url: https://toiletmap-git-ob-decap-public-convenience-ltd.vercel.app/
display_url: https://toiletmap-git-ob-decap-public-convenience-ltd.vercel.app/
publish_mode: editorial_workflow
media_folder: public/images/uploads
public_folder: /images/uploads
Expand All @@ -16,7 +16,7 @@ collections:
files:
- label: "Home"
name: "home"
file: "content/pages/home.mdx"
file: "content/pages/home.md"
fields:
- { label: "Title", name: "title", widget: "string"}
- { label: "Publish Date", name: "date", widget: "datetime" }
Expand Down

0 comments on commit 2319fed

Please sign in to comment.