tercul-frontend/server/lib/graphqlClient.ts
Damir Mukimov 4a23f496fa
Major frontend development updates
- Enhanced annotation system with improved inline editing
- Updated author components with new card and header designs
- Improved reading view with enhanced line numbering and controls
- Added new blog management features and tag management
- Updated UI components with improved accessibility and styling
- Enhanced search functionality with better filtering
- Added new dashboard features and activity feeds
- Improved translation selector and work comparison tools
- Updated GraphQL integration and API hooks
- Enhanced responsive design and mobile experience
2025-11-27 03:44:09 +01:00

10 lines
269 B
TypeScript

import { GraphQLClient } from "graphql-request";
const endpoint = process.env.GO_GRAPHQL_URL || "http://localhost:8080/graphql";
export const graphqlClient = new GraphQLClient(endpoint, {
headers: {
// Add any required headers here, e.g. authorization
},
});