2022-06-20 11:16:36 +02:00
|
|
|
import { PrismaClient } from 'db'
|
2022-02-25 09:45:31 +01:00
|
|
|
import path from 'path'
|
2022-08-08 08:21:36 +02:00
|
|
|
import fs from 'fs'
|
2022-02-25 09:45:31 +01:00
|
|
|
|
|
|
|
require('dotenv').config({
|
|
|
|
path: path.join(
|
|
|
|
__dirname,
|
2022-07-13 08:17:33 +02:00
|
|
|
process.env.NODE_ENV === 'production'
|
|
|
|
? '.env.production'
|
|
|
|
: process.env.NODE_ENV === 'staging'
|
|
|
|
? '.env.staging'
|
|
|
|
: '.env.local'
|
2022-02-25 09:45:31 +01:00
|
|
|
),
|
|
|
|
})
|
|
|
|
|
2022-08-08 08:21:36 +02:00
|
|
|
const main = async () => {}
|
2022-02-25 09:45:31 +01:00
|
|
|
|
|
|
|
main().then()
|