feat: checkpoint
This commit is contained in:
10
platform/config/dotenv.ts
Normal file
10
platform/config/dotenv.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { load } from "@std/dotenv";
|
||||
|
||||
const env = await load();
|
||||
|
||||
/**
|
||||
* TODO ...
|
||||
*/
|
||||
export function getDotEnvVariable(key: string): string {
|
||||
return env[key] ?? Deno.env.get(key);
|
||||
}
|
||||
Reference in New Issue
Block a user