-
Hi, I'm wondering if it is possible to have two different endpoints. I'd like to have a specialized endpoint for refreshing tokens. Scott |
Beta Was this translation helpful? Give feedback.
Answered by
mcollina
Nov 3, 2021
Replies: 1 comment 2 replies
-
You can register the plugin twice: app.register(async function (app) {
app.register(mercurius, { ... })
}, { prefix: '/a' })
app.register(async function (app) {
app.register(mercurius, { ... })
}, { prefix: '/b' }) |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
smolinari
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can register the plugin twice: