Skip to content

Commit

Permalink
Added Origin header
Browse files Browse the repository at this point in the history
  • Loading branch information
Fgerthoffert authored Jul 5, 2021
1 parent 9c85675 commit a94c518
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/graphql/client/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const graphqlClient = async (cmdConfig: ConfigFlags) => {
operation.setContext({
headers: {
authorization: `Basic ${cmdConfig.jahiaAdminUsername}:${cmdConfig.jahiaAdminPassword}`,
Origin: cmdConfig.jahiaAdminUrl
},
});
return forward(operation).map(
Expand Down

0 comments on commit a94c518

Please sign in to comment.