Skip to content

Commit

Permalink
Merge pull request #598 from thoth-pub/feature/feature/597_fix_graphi…
Browse files Browse the repository at this point in the history
…ql_headers

Feature/feature/597 fix graphiql headers
  • Loading branch information
ja573 authored Apr 26, 2024
2 parents 965f46a + 5396b18 commit a407477
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- [583](https://github.com/thoth-pub/thoth/issues/583) - Add new field, Permanently Withdrawn Date, to Work for Out-of-print or Withdrawn from Sale Works.

### Fixed
- [597](https://github.com/thoth-pub/thoth/issues/597) - Graphiql not working in chrome and safari

### Changed
- [218](https://github.com/thoth-pub/thoth/issues/218) - Make series ISSN optional

Expand Down
4 changes: 0 additions & 4 deletions thoth-api-server/src/graphiql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,6 @@ pub fn graphiql_source(graphql_endpoint_url: &str) -> String {
const fetcher = GraphiQL.createFetcher({{
url: '{graphql_endpoint_url}',
method: 'post',
headers: {{
'Accept': 'application/json',
'Content-Type': 'application/json',
}},
}});
const explorerPlugin = GraphiQLPluginExplorer.explorerPlugin();
root.render(
Expand Down

0 comments on commit a407477

Please sign in to comment.