Skip to content

Commit

Permalink
Use different env var
Browse files Browse the repository at this point in the history
Signed-off-by: Marcos Candeia <[email protected]>
  • Loading branch information
mcandeia committed Sep 24, 2024
1 parent fa0dd82 commit a4f4d5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/actors/proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ type Promisify<Actor> = {
: Actor[key];
};

const DENO_ACTORS_SERVER_URL: string | undefined = Deno.env.get(
"DENO_ACTORS_SERVER_URL",
const DECO_ACTORS_SERVER_URL: string | undefined = Deno.env.get(
"DECO_ACTORS_SERVER_URL",
);
const DEPLOYMENT: string | undefined = Deno.env.get("DENO_DEPLOYMENT_ID");
const ACTORS_SERVER_URL = DENO_ACTORS_SERVER_URL ??
const ACTORS_SERVER_URL = DECO_ACTORS_SERVER_URL ??
(typeof DEPLOYMENT === "string"
? undefined
: `http://localhost:${Deno.env.get("PORT") ?? 8000}`);
Expand Down

0 comments on commit a4f4d5f

Please sign in to comment.