chore: add csrf and cors config to live preview
This commit is contained in:
@@ -22,8 +22,8 @@ export default buildConfigWithDefaults({
|
||||
globals: ['header', 'footer'],
|
||||
},
|
||||
},
|
||||
cors: ['http://localhost:3001'],
|
||||
csrf: ['http://localhost:3001'],
|
||||
cors: ['http://localhost:3000', 'http://localhost:3001'],
|
||||
csrf: ['http://localhost:3000', 'http://localhost:3001'],
|
||||
collections: [Users, Pages, Posts, Tenants, Categories, Media],
|
||||
globals: [Header, Footer],
|
||||
onInit: seed,
|
||||
|
||||
Reference in New Issue
Block a user