mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-21 21:50:49 +02:00
🐍 fix: Use Standard Mongoose Module Resolution in Config Scripts (#9143)
This commit is contained in:
parent
beff848a3f
commit
d6c173c94b
14 changed files with 14 additions and 14 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue