mirror of
https://github.com/SamyRai/tercul-frontend.git
synced 2025-12-27 04:51:34 +00:00
- 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
10 lines
269 B
TypeScript
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
|
|
},
|
|
});
|