router icon indicating copy to clipboard operation
router copied to clipboard

Need the ability to serve on multiple paths

Open BrynCooke opened this issue 2 years ago • 2 comments

Some users have clients that are using combinations of / and /graphql. Changing these clients isn't an option, so it'd be helpful you could specify multiple paths to listen on.

Suggest that we pull this stuff out of supergraph into a server section:

server:
  listen:
  paths:
    - /
    - /graphql

BrynCooke avatar Aug 22 '23 07:08 BrynCooke

Note this has implications around the way we validate web endpoints, and the way we set up routes in the axum router.

o0Ignition0o avatar Aug 22 '23 10:08 o0Ignition0o

Could also help solve: https://github.com/apollographql/router/issues/4836

smyrick avatar Apr 10 '24 19:04 smyrick