Skip to content

Commit 5286288

Browse files
author
yaroslav8765
committed
fix: Add load .env.local in index.ts.hbs
1 parent a83cf08 commit 5286288

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

adminforth/commands/createApp/templates/index.ts.hbs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import AdminForth from 'adminforth';
33
import usersResource from "./resources/adminuser.js";
44
import { fileURLToPath } from 'url';
55
import path from 'path';
6+
import dotenv from "dotenv";
7+
dotenv.config({ path: '.env.local' });
68

79
const ADMIN_BASE_URL = '';
810

0 commit comments

Comments
 (0)