mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 17:00:15 +01:00
chore: comment out auth route
This commit is contained in:
parent
0b75d5d6fe
commit
d13315c45b
1 changed files with 6 additions and 4 deletions
|
|
@ -25,10 +25,12 @@ app.use(session({
|
||||||
saveUninitialized: true,
|
saveUninitialized: true,
|
||||||
}))
|
}))
|
||||||
|
|
||||||
app.get('/', routes.authenticatedOrRedirect, function (req, res) {
|
/* chore: potential redirect error here, can only comment out this block;
|
||||||
console.log(path.join(projectPath, 'public', 'index.html'));
|
comment back in if using auth routes i guess */
|
||||||
res.sendFile(path.join(projectPath, 'public', 'index.html'));
|
// 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) {
|
app.get('/api/me', function (req, res) {
|
||||||
if (userSystemEnabled) {
|
if (userSystemEnabled) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue