We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a45c15b commit c10da80Copy full SHA for c10da80
app/pages/api/graphiql.ts
@@ -11,7 +11,7 @@ export const config = {
11
export default async (req: NextApiRequest, res: NextApiResponse) => {
12
res.status(200).end(
13
renderGraphiQL({
14
- endpoint: process.env.NEXT_PUBLIC_SUPABASE_URL + "/rest/v1/rpc/graphql",
+ endpoint: process.env.NEXT_PUBLIC_SUPABASE_URL + "/graphql/v1",
15
headers: JSON.stringify({
16
apikey: process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,
17
}),
0 commit comments