Skip to content

Commit c10da80

Browse files
committed
Updates GraphiQL to use graphql/v1
1 parent a45c15b commit c10da80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/pages/api/graphiql.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const config = {
1111
export default async (req: NextApiRequest, res: NextApiResponse) => {
1212
res.status(200).end(
1313
renderGraphiQL({
14-
endpoint: process.env.NEXT_PUBLIC_SUPABASE_URL + "/rest/v1/rpc/graphql",
14+
endpoint: process.env.NEXT_PUBLIC_SUPABASE_URL + "/graphql/v1",
1515
headers: JSON.stringify({
1616
apikey: process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,
1717
}),

0 commit comments

Comments
 (0)