chore: uncomment out the example of a server component with local api running
This commit is contained in:
@ -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>
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user