Skip to content

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

chore: comment out auth route

Daniel Avilad13315c45bd6
diff --git a/api/server/index.js b/api/server/index.js
index cb9781623a..93804a4390 100644
--- a/api/server/index.js
+++ b/api/server/index.js
@@ -25,10 +25,12 @@ app.use(session({
saveUninitialized: true,
}))
-app.get('/', routes.authenticatedOrRedirect, function (req, res) {
- console.log(path.join(projectPath, 'public', 'index.html'));
- res.sendFile(path.join(projectPath, 'public', 'index.html'));
-});
+/* chore: potential redirect error here, can only comment out this block;
+ comment back in if using auth routes i guess */
+// app.get('/', routes.authenticatedOrRedirect, function (req, res) {
+// console.log(path.join(projectPath, 'public', 'index.html'));
+// res.sendFile(path.join(projectPath, 'public', 'index.html'));
+// });
app.get('/api/me', function (req, res) {
if (userSystemEnabled) {