🐍 fix: Use Standard Mongoose Module Resolution in Config Scripts (#9143)

This commit is contained in:
Helge Wiethoff 2025-08-19 17:15:09 +02:00 committed by GitHub
parent beff848a3f
commit d6c173c94b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 14 additions and 14 deletions

View file

@ -1,5 +1,5 @@
const path = require('path');
const mongoose = require(path.resolve(__dirname, '..', 'api', 'node_modules', 'mongoose'));
const mongoose = require('mongoose');
const { User } = require('@librechat/data-schemas').createModels(mongoose);
require('module-alias')({ base: path.resolve(__dirname, '..', 'api') });
const { askQuestion, silentExit } = require('./helpers');