Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active
TypeScript aianthropicartifactsawsazurechatgptchatgpt-cloneclaudeclonedeepseekgeminigooglegpt-5librechatmcpo1openairesponses-apivisionwebui
return 404 instead of 200 (#1294)
Marco Beretta2e390596eac3
diff --git a/api/server/index.js b/api/server/index.jsindex 52500cd967..1120dfe6dc 100644--- a/api/server/index.js+++ b/api/server/index.js@@ -71,9 +71,8 @@ const startServer = async () => {app.use('/api/assistants', routes.assistants);app.use('/api/files', routes.files);- // Static files- app.get('/*', function (req, res) {- res.sendFile(path.join(projectPath, 'dist', 'index.html'));+ app.use((req, res) => {+ res.status(404).sendFile(path.join(projectPath, 'dist', 'index.html'));});app.listen(port, host, () => {