Fix current path in compiled program

This commit is contained in:
raucao committed 2024-10-23 00:31:13 +02:00
1 parent 46ad9813eb
commit 52d56c387d
1 file changed
+1 -1
+1 -1
View File
@@ -2,7 +2,7 @@ import { load } from "@std/dotenv";
import { parse } from "jsr:@std/yaml";
import { log } from "./log.ts";
const dirname = new URL(".", import.meta.url).pathname;
const dirname = Deno.cwd();
await load({ envPath: `${dirname}/.env`, export: true });
let staticUsers: { [key: string]: string } = {};