We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 604ca3b commit 225f1e3Copy full SHA for 225f1e3
.env.example
@@ -0,0 +1,6 @@
1
+# https://www.mongodb.com/atlas/database
2
+API_KEY=xxx
3
+API_BASE_URL=xxx
4
+DATASOURCE=xxx
5
+DATABASE=xxx
6
+COLLECTION=xxx
packages/templates/src/enum.ts
@@ -1,7 +1,11 @@
import path from 'path'
+import { fileURLToPath } from 'url'
import dotenv from 'dotenv'
+const __filename = fileURLToPath(import.meta.url)
7
+const __dirname = path.dirname(__filename)
8
+
9
dotenv.config({
10
path: path.resolve(__dirname, '../../../.env'),
11
})
0 commit comments