Skip to content

Commit

Permalink
Added new envs
Browse files Browse the repository at this point in the history
  • Loading branch information
psanders committed Oct 19, 2021
1 parent 9e98f1f commit f204d84
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mods/core/src/common/routr.ts
@@ -1,8 +1,7 @@
import RoutrClient from "./routr_client";

const host = process.env.SIPPROXY_API_HOST
|| process.env.SIPPROXY_HOST
|| "localhost";
const host =
process.env.SIPPROXY_API_HOST || process.env.SIPPROXY_HOST || "localhost";
const port = process.env.SIPPROXY_API_PORT || "4567";
const username = process.env.SIPPROXY_API_USERNAME || "admin";
const secret = process.env.SIPPROXY_API_SECRET || "changeit";
Expand Down

0 comments on commit f204d84

Please sign in to comment.