Skip to main content
Glama
shared.module.ts767 B
import { Module } from '@nestjs/common'; import { HttpModule } from '@nestjs/axios'; import { ApiClientService } from './http/api-client.service'; import { TimesheetConfigModule } from '../config/config.module'; import * as https from 'https'; @Module({ imports: [ HttpModule.register({ timeout: 10000, maxRedirects: 5, // Allow self-signed certificates for internal backend API // Note: Only use this for trusted internal APIs, never for public endpoints httpsAgent: new https.Agent({ rejectUnauthorized: false, }), }), TimesheetConfigModule, // Import config module for TimesheetConfigService ], providers: [ApiClientService], exports: [ApiClientService, HttpModule], }) export class SharedModule {}

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/arshad-khan1/Timesheet-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server