From b7f8bf1d797024da9f147c4a71a6d74f11c5d994 Mon Sep 17 00:00:00 2001 From: Dale Seo <5466341+DaleSeo@users.noreply.github.com> Date: Mon, 13 Jul 2026 10:55:49 -0400 Subject: [PATCH] chore: switch graphql endpoint to cloudflare --- CLAUDE.md | 4 ++-- src/api/infra/gitHub/gitHubClient.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 26c36f2..0775220 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -48,7 +48,7 @@ bun run test src/components/Card/Card.test.tsx ### Data Flow ``` -GitHub GraphQL API (https://dalestudy.fly.dev/) +GitHub GraphQL API (https://graphql.daleseo.workers.dev/) ↓ gitHubClient.ts (Apollo Client) ↓ fetchService.ts (extract teams, members, submissions) ↓ processService.ts (calculate progress & grades) @@ -178,7 +178,7 @@ export const Default: StoryObj = { ### Apollo Client Configuration -- **Endpoint**: `https://dalestudy.fly.dev/` +- **Endpoint**: `https://graphql.daleseo.workers.dev/` - **Cache**: InMemoryCache (default policies) - **Location**: `src/api/infra/gitHub/gitHubClient.ts` diff --git a/src/api/infra/gitHub/gitHubClient.ts b/src/api/infra/gitHub/gitHubClient.ts index 493050b..dcf56cd 100644 --- a/src/api/infra/gitHub/gitHubClient.ts +++ b/src/api/infra/gitHub/gitHubClient.ts @@ -1,7 +1,7 @@ import { ApolloClient, InMemoryCache, gql } from "@apollo/client"; const client = new ApolloClient({ - uri: "https://dalestudy.fly.dev/", + uri: "https://graphql.daleseo.workers.dev/", cache: new InMemoryCache(), });