Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Commit 8ea2101

Browse files
committed
Call onEditHeaders to ensure they're added to the request
1 parent d7d2ee6 commit 8ea2101

File tree

1 file changed

+1
-0
lines changed
  • graphiql-spring-boot-autoconfigure/src/main/resources

1 file changed

+1
-0
lines changed

graphiql-spring-boot-autoconfigure/src/main/resources/graphiql.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@
167167
var newHeaders = Object.assign({}, JSON.parse(props.headers), headers)
168168
props.headers = JSON.stringify(newHeaders, undefined, 2)
169169
}
170+
onEditHeaders(props.headers)
170171

171172
// Render <GraphiQL /> into the body.
172173
ReactDOM.render(

0 commit comments

Comments
 (0)