Skip to content

Commit

Permalink
fix(config/helpers): fix module resolution error
Browse files Browse the repository at this point in the history
  • Loading branch information
danny-avila committed Dec 30, 2023
1 parent dd368a6 commit 4d53cc4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ const fs = require('fs');
const path = require('path');
const readline = require('readline');
const { execSync } = require('child_process');
const { connectDb } = require('@librechat/backend/lib/db');
require('module-alias')({ base: path.resolve(__dirname, '..', 'api') });
const connectDb = require('~/lib/db/connectDb');

const askQuestion = (query) => {
const rl = readline.createInterface({
Expand Down

0 comments on commit 4d53cc4

Please sign in to comment.