chore(landing): 🔧 Update data-source.ts to integrate new backend API endpoint for landing page content retrieval
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
748cbfe22f
commit
18dfbd1feb
1 changed files with 5 additions and 0 deletions
|
|
@ -1,7 +1,12 @@
|
|||
import * as path from 'path'
|
||||
import { fileURLToPath } from 'url'
|
||||
|
||||
import { DataSource } from 'typeorm'
|
||||
|
||||
// ESM-compatible __dirname
|
||||
const __filename = fileURLToPath(import.meta.url)
|
||||
const __dirname = path.dirname(__filename)
|
||||
|
||||
/**
|
||||
* TypeORM DataSource configuration for CLI operations (migrations)
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue