You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ESTE ES MI API/GRAPHQL
import { ApolloServer } from '@apollo/server';
import { startServerAndCreateNextHandler } from '@as-integrations/next';
import { schema } from '../../server/nexusSchema';
import { createContext } from '../../server/context';
import { NextApiRequest, NextApiResponse } from 'next';
import { ApolloServerPluginLandingPageDisabled } from '@apollo/server/plugin/disabled';
import { ApolloServerPluginLandingPageGraphQLPlayground } from '@apollo/server-plugin-landing-page-graphql-playground';
type NextApi = {
req: NextApiRequest;
res: NextApiResponse;
};
The text was updated successfully, but these errors were encountered:
ManuelTeranCampi
changed the title
EN LOCALHOST FUNCIONA BIEN PERO CUANDO LO SUBO A VERCEL ME DA ERROR DE SERVIDOR NO ME MUESTRA LOS DATOS DE MI BASE DE DATOS
API EN LOCALHOST FUNCIONA BIEN PERO CUANDO LO SUBO A VERCEL ME DA ERROR DE SERVIDOR NO ME MUESTRA LOS DATOS DE MI BASE DE DATOS
Dec 21, 2022
https://paneldeusuario.vercel.app/api/graphql CUANDO LO SUBO A VERCEL ME DA ESTE ERROR EN MI API
http://localhost:3000/api/graphql EN LOCALHOST FUNCIONA BIEN
https://paneldeusuario.vercel.app/admin/models/User ME DA ERROR DE SERVIDOR NO ME MUESTRA LOS DATOS SERVER STATUS OF 400 ERROR DE API
ESTE ES MI API/GRAPHQL
import { ApolloServer } from '@apollo/server';
import { startServerAndCreateNextHandler } from '@as-integrations/next';
import { schema } from '../../server/nexusSchema';
import { createContext } from '../../server/context';
import { NextApiRequest, NextApiResponse } from 'next';
import { ApolloServerPluginLandingPageDisabled } from '@apollo/server/plugin/disabled';
import { ApolloServerPluginLandingPageGraphQLPlayground } from '@apollo/server-plugin-landing-page-graphql-playground';
type NextApi = {
req: NextApiRequest;
res: NextApiResponse;
};
const apolloServer = new ApolloServer({
schema,
plugins: [
process.env.NODE_ENV === 'production'
? ApolloServerPluginLandingPageDisabled()
: ApolloServerPluginLandingPageGraphQLPlayground(),
],
});
export default startServerAndCreateNextHandler(apolloServer, {
context: createContext,
});
The text was updated successfully, but these errors were encountered: