chore: add home page with information on local API

This commit is contained in:
Paul Popus
2024-03-09 13:50:13 -03:00
parent 373b4c0a4c
commit 2ba9a84825
5 changed files with 124 additions and 2 deletions

View File

@ -0,0 +1,10 @@
import React from 'react'
import { getPayload } from 'payload'
const Example: React.FC = async () => {
const payload = await getPayload()
const url = payload.config.serverURL
return <div>The admin panel is running at: {url}</div>
}
export default Example