Given the simplest of Apollo Server instances, run Sandbox and inspect the browser's logs for:
Failed to load resource: the server responded with a status of 400 (Bad Request)
:4000/favicon.ico:1
Repro:
npm init -y
npm i @apollo/server graphql
touch index.js
// index.js
import { ApolloServer } from "@apollo/server";
import { startStandaloneServer } from "@apollo/server/standalone";
const server = new ApolloServer({
typeDefs: `#graphql
type Query {
hello: String
}
`,
});
startStandaloneServer(server, { listen: { port: 4000 } }).then(() => {
console.log("Server running at http://localhost:4000");
});
Given the simplest of Apollo Server instances, run Sandbox and inspect the browser's logs for:
Repro: