Skip to content

Commit 744aa97

Browse files
committed
Test something else :(
1 parent 54298db commit 744aa97

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/collections/Projects.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,7 @@ export const Projects: CollectionConfig = {
140140
secret: PAYLOAD_SECRET,
141141
})
142142

143-
console.log(process.env.NEXT_PUBLIC_PAYLOAD_URL)
144-
145-
return `${process.env.NEXT_PUBLIC_PAYLOAD_URL}/draft?${params.toString()}`
143+
return `https://vectorinterior.design/draft?${params.toString()}`
146144
},
147145
},
148146
},

src/payload.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ export default buildConfig({
3636
baseDir: path.resolve(dirname),
3737
},
3838
livePreview: {
39-
url: process.env.NEXT_PUBLIC_PAYLOAD_URL,
4039
breakpoints: [
4140
{
4241
label: 'Móvil',

0 commit comments

Comments
 (0)