fix: remove localhost
This commit is contained in:
parent
794ac2d9c9
commit
eafda90a41
3 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,6 @@
|
|||
NEXT_PUBLIC_SITE_ID=chemnitz
|
||||
DATABASE_URI=mongodb://127.0.0.1/dreikoenige
|
||||
PAYLOAD_SECRET=YOUR_SECRET_HERE
|
||||
GOOGLE_BUCKET=google_storage_bucket #can be omitted
|
||||
RESEND_API_KEY=some_api_key
|
||||
PUBLIC_URL=http://localhost:3000
|
||||
NEXT_PUBLIC_SERVER_URL=http://localhost:3000
|
||||
|
|
@ -9,7 +9,7 @@ export const RefreshRouteOnSave: React.FC = () => {
|
|||
return (
|
||||
<PayloadLivePreview
|
||||
refresh={() => router.refresh()}
|
||||
serverURL={process.env.PUBLIC_URL || "http://localhost:3000"}
|
||||
serverURL={process.env.NEXT_PUBLIC_SERVER_URL || ''}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
|
@ -75,7 +75,6 @@ export default buildConfig({
|
|||
}
|
||||
},
|
||||
livePreview: {
|
||||
url: 'http://localhost:3000',
|
||||
collections: ['blog', 'event', 'group', 'pages', 'parish'],
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue