mirror of
https://github.com/aljazceru/ditto.git
synced 2026-02-23 14:06:58 +01:00
Remove @std/dotenv
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import os from 'node:os';
|
||||
import ISO6391, { LanguageCode } from 'iso-639-1';
|
||||
import * as dotenv from '@std/dotenv';
|
||||
import { getPublicKey, nip19 } from 'nostr-tools';
|
||||
import { z } from 'zod';
|
||||
import { decodeBase64 } from '@std/encoding/base64';
|
||||
@@ -8,13 +7,6 @@ import { encodeBase64Url } from '@std/encoding/base64url';
|
||||
|
||||
import { getEcdsaPublicKey } from '@/utils/crypto.ts';
|
||||
|
||||
/** Load environment config from `.env` */
|
||||
await dotenv.load({
|
||||
export: true,
|
||||
defaultsPath: null,
|
||||
examplePath: null,
|
||||
});
|
||||
|
||||
/** Application-wide configuration. */
|
||||
class Conf {
|
||||
private static _pubkey: string | undefined;
|
||||
|
||||
Reference in New Issue
Block a user