June 30, 2024
·
418 commits
to main
since this release
@graphql-yoga/[email protected]
@graphql-yoga/[email protected]
[email protected]
Minor Changes
-
#3332
0208024
Thanks @ardatan! - Customize the landing page by passing a custom
renderer that returnsResponse
to thelandingPage
optionimport { createYoga } from 'graphql-yoga' const yoga = createYoga({ landingPage: ({ url, fetchAPI }) => { return new fetchAPI.Response( /* HTML */ ` <!doctype html> <html> <head> <title>404 Not Found</title> </head> <body> <h1>404 Not Found</h1> <p>Sorry, the page (${url.pathname}) you are looking for could not be found.</p> </body> </html> `, { status: 404, headers: { 'Content-Type': 'text/html' } } ) } })
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[0208024
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies []:
- @graphql-yoga/[email protected]
- @graphql-yoga/[email protected]
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[0208024
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[0208024
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[0208024
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[0208024
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[0208024
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[0208024
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[0208024
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[0208024
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[0208024
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[0208024
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[0208024
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[0208024
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[0208024
]: