chore: uncomment out the example of a server component with local api running

This commit is contained in:
Paul Popus
2024-03-12 23:12:46 -03:00
parent 59293846cb
commit ed3563470c
3 changed files with 31 additions and 32 deletions

View File

@ -4,7 +4,7 @@ import configPromise from '@payload-config'
const Example: React.FC = async () => {
const payload = await getPayload({ config: configPromise })
const url = payload.config.serverURL
const url = payload.getAdminURL()
return <div>The admin panel is running at: {url}</div>
}