1 line
6.1 KiB
JSON
1 line
6.1 KiB
JSON
{"repo": "augmented-tech/csdeepseek", "files": {"backend/docker-compose.yml": {"81653bdb491978b96da525275f2a52b9f59972c4": {"t": 1785745237.0720587, "n": 769, "h": "7be7977e3529f697", "c": "version: '3.8'\n\nservices:\n app:\n build:\n context: .\n dockerfile: Dockerfile\n ports:\n - \"8080:8080\"\n environment:\n - DEEPSEEK_API_KEY=${DEEPSEEK_API_KEY}\n - PORT=8080\n - HOST=0.0.0.0\n - LOG_LEVEL=debug\n - LOG_FORMAT=json\n - REQUEST_TIMEOUT=30\n - SHUTDOWN_TIMEOUT=10\n - ALLOWED_ORIGINS=http://localhost:3000\n - ALLOWED_METHODS=GET,POST,OPTIONS\n - ALLOWED_HEADERS=Content-Type,Authorization\n - SESSION_TIMEOUT=3600\n - MAX_SESSIONS=1000\n volumes:\n - .:/app\n command: go run main.go\n restart: unless-stopped\n healthcheck:\n test: [\"CMD\", \"curl\", \"-f\", \"http://localhost:8080/api/health\"]\n interval: 30s\n timeout: 10s\n retries: 3\n start_period: 10s "}, "cc33f562636f6645d31f2a7db1d4d6bb7ffbaed2": {"t": 1785749087.850635, "n": 769, "h": "7be7977e3529f697", "c": "version: '3.8'\n\nservices:\n app:\n build:\n context: .\n dockerfile: Dockerfile\n ports:\n - \"8080:8080\"\n environment:\n - DEEPSEEK_API_KEY=${DEEPSEEK_API_KEY}\n - PORT=8080\n - HOST=0.0.0.0\n - LOG_LEVEL=debug\n - LOG_FORMAT=json\n - REQUEST_TIMEOUT=30\n - SHUTDOWN_TIMEOUT=10\n - ALLOWED_ORIGINS=http://localhost:3000\n - ALLOWED_METHODS=GET,POST,OPTIONS\n - ALLOWED_HEADERS=Content-Type,Authorization\n - SESSION_TIMEOUT=3600\n - MAX_SESSIONS=1000\n volumes:\n - .:/app\n command: go run main.go\n restart: unless-stopped\n healthcheck:\n test: [\"CMD\", \"curl\", \"-f\", \"http://localhost:8080/api/health\"]\n interval: 30s\n timeout: 10s\n retries: 3\n start_period: 10s "}}, "frontend/config/config.js": {"81653bdb491978b96da525275f2a52b9f59972c4": {"t": 1785746664.470907, "n": 1267, "h": "972f0200b4af766b", "c": "// Central configuration for the WeChat Mini Program\n// Update these URLs based on your deployment environment\n\nconst CONFIG = {\n // Backend API Configuration\n API: {\n BASE_URL: 'http://localhost:7071/api', // Local development\n // BASE_URL: 'https://your-production-domain.com/api', // Production\n \n // WebSocket Configuration\n WS_URL: 'ws://localhost:7071/ws/chat', // Local development WebSocket\n // WS_URL: 'wss://your-production-domain.com/ws/chat', // Production WebSocket (secure)\n },\n \n // External API Configuration (if needed)\n EXTERNAL: {\n DEEPSEEK_BASE_URL: 'https://api.deepseek.com/v1',\n },\n \n // App Configuration\n APP: {\n VERSION: '1.0.0',\n DEBUG_MODE: true, // Set to false for production - controls console logging\n SESSION_TIMEOUT: 30 * 60 * 1000, // 30 minutes in milliseconds\n },\n \n // Chat Configuration\n CHAT: {\n MAX_MESSAGE_LENGTH: 2000,\n TYPING_INDICATOR_DELAY: 500,\n RECONNECT_ATTEMPTS: 3,\n RECONNECT_DELAY: 2000,\n }\n};\n\n// Helper function to get the appropriate URL based on environment\nCONFIG.getApiUrl = function() {\n return this.API.BASE_URL;\n};\n\nCONFIG.getWebSocketUrl = function() {\n return this.API.WS_URL;\n};\n\n// Export for use in other modules\nexport default CONFIG; "}, "e4e6f9fe288ba3080179d7a26c639da07a3f18e7": {"t": 1785749087.8068821, "n": 1267, "h": "972f0200b4af766b", "c": "// Central configuration for the WeChat Mini Program\n// Update these URLs based on your deployment environment\n\nconst CONFIG = {\n // Backend API Configuration\n API: {\n BASE_URL: 'http://localhost:7071/api', // Local development\n // BASE_URL: 'https://your-production-domain.com/api', // Production\n \n // WebSocket Configuration\n WS_URL: 'ws://localhost:7071/ws/chat', // Local development WebSocket\n // WS_URL: 'wss://your-production-domain.com/ws/chat', // Production WebSocket (secure)\n },\n \n // External API Configuration (if needed)\n EXTERNAL: {\n DEEPSEEK_BASE_URL: 'https://api.deepseek.com/v1',\n },\n \n // App Configuration\n APP: {\n VERSION: '1.0.0',\n DEBUG_MODE: true, // Set to false for production - controls console logging\n SESSION_TIMEOUT: 30 * 60 * 1000, // 30 minutes in milliseconds\n },\n \n // Chat Configuration\n CHAT: {\n MAX_MESSAGE_LENGTH: 2000,\n TYPING_INDICATOR_DELAY: 500,\n RECONNECT_ATTEMPTS: 3,\n RECONNECT_DELAY: 2000,\n }\n};\n\n// Helper function to get the appropriate URL based on environment\nCONFIG.getApiUrl = function() {\n return this.API.BASE_URL;\n};\n\nCONFIG.getWebSocketUrl = function() {\n return this.API.WS_URL;\n};\n\n// Export for use in other modules\nexport default CONFIG; "}, "de5cea113c62972a9459226e5f1628bebace2a52": {"t": 1785749089.0642886, "n": 1240, "h": "b62a2ac53a22a94f", "c": "// Central configuration for the WeChat Mini Program\n// Update these URLs based on your deployment environment\n\nconst CONFIG = {\n // Backend API Configuration\n API: {\n BASE_URL: 'http://localhost:7071/api', // Local development\n // BASE_URL: 'https://your-production-domain.com/api', // Production\n \n // WebSocket Configuration\n WS_URL: 'ws://localhost:7071/ws/chat', // Local development WebSocket\n // WS_URL: 'wss://your-production-domain.com/ws/chat', // Production WebSocket (secure)\n },\n \n // External API Configuration (if needed)\n EXTERNAL: {\n DEEPSEEK_BASE_URL: 'https://api.deepseek.com/v1',\n },\n \n // App Configuration\n APP: {\n VERSION: '1.0.0',\n DEBUG_MODE: true, // Set to false for production\n SESSION_TIMEOUT: 30 * 60 * 1000, // 30 minutes in milliseconds\n },\n \n // Chat Configuration\n CHAT: {\n MAX_MESSAGE_LENGTH: 2000,\n TYPING_INDICATOR_DELAY: 500,\n RECONNECT_ATTEMPTS: 3,\n RECONNECT_DELAY: 2000,\n }\n};\n\n// Helper function to get the appropriate URL based on environment\nCONFIG.getApiUrl = function() {\n return this.API.BASE_URL;\n};\n\nCONFIG.getWebSocketUrl = function() {\n return this.API.WS_URL;\n};\n\n// Export for use in other modules\nexport default CONFIG; "}}}} |