Made ESV directory structure consistent with NKJV
- **Docker ESV copy**: Changed from ESV → /app/bible-data to ESV → /app/ESV
- **Backend ESV path**: Updated ESV_DATA_DIR from '../../bible-data' to '../../ESV'
- **Consistent naming**: Both ESV and NKJV follow same /app/{VERSION}/ pattern
- **Clear mirroring**: Repository ESV/ folder → Container /app/ESV/
- **Improved clarity**: No more bible-data vs ESV directory mismatch
Both ESV and NKJV now follow identical directory conventions!
This commit is contained in:
@@ -39,7 +39,7 @@ COPY --from=frontend-build /app/frontend/build ./frontend/build
|
||||
COPY docker-compose.yml ./
|
||||
|
||||
# Copy ESV Bible data from repository
|
||||
COPY ESV /app/bible-data
|
||||
COPY ESV /app/ESV
|
||||
|
||||
# Copy NKJV Bible data from repository
|
||||
COPY NKJV /app/NKJV
|
||||
|
||||
@@ -36,7 +36,7 @@ app.use(express.static(path.join(__dirname, '../../frontend/build')));
|
||||
app.use('/logos', express.static(path.join(__dirname, '../../frontend/logos')));
|
||||
|
||||
// Bible data directories
|
||||
const ESV_DATA_DIR = path.join(__dirname, '../../bible-data'); // ESV local files
|
||||
const ESV_DATA_DIR = path.join(__dirname, '../../ESV'); // ESV local files
|
||||
const NKJV_DATA_DIR = path.join(__dirname, '../../NKJV'); // NKJV local files
|
||||
|
||||
// Initialize search engines for each version
|
||||
|
||||
Reference in New Issue
Block a user