Skip to content

Commit 8b3232b

Browse files
port
1 parent 3614ed9 commit 8b3232b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

apollo-server.mjs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ const resolvers = {
6565
};
6666

6767
const app = express();
68-
app.use(cors({ origin: '*' }));
68+
app.use(cors({
69+
origin: '*',
70+
}));
6971

7072
const startApolloServer = async () => {
7173
const server = new ApolloServer({
@@ -78,7 +80,7 @@ const startApolloServer = async () => {
7880
await server.start();
7981
server.applyMiddleware({ app, path: '/graphql' });
8082

81-
const PORT = 5000;
83+
const PORT = 4000;
8284
app.listen(PORT, () => {
8385
console.log(`🚀 Server ready at http://localhost:${PORT}${server.graphqlPath}`);
8486
});

src/app/members/page.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import Loader from "../../components/loader"; // Import the loader component
1212
import SkeletonLoader from "../../components/skeltonloader";
1313

1414
const client = new ApolloClient({
15-
uri: process.env.GRAPH_QL_URI || 'http://localhost:5000/graphql',
15+
uri: process.env.GRAPH_QL_URI || 'https://images.istenith.com/graphql/',
1616
cache: new InMemoryCache(),
1717
});
1818

0 commit comments

Comments
 (0)