Skip to content

Commit

Permalink
fix(create): Fix playground config to work with GraphiQL
Browse files Browse the repository at this point in the history
  • Loading branch information
toBeOfUse committed Nov 30, 2024
1 parent ce99b64 commit efec3cf
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/create/templates/vendure-config.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,9 @@ export const config: VendureConfig = {
// but are best turned off for production for security
// reasons.
...(IS_DEV ? {
adminApiPlayground: {
settings: { 'request.credentials': 'include' },
},
adminApiPlayground: true,
adminApiDebug: true,
shopApiPlayground: {
settings: { 'request.credentials': 'include' },
},
shopApiPlayground: true,
shopApiDebug: true,
} : {}),
},
Expand Down

0 comments on commit efec3cf

Please sign in to comment.