mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40:14 +01: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 { registerUser } = require('~/server/services/AuthService');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue