Skip to content

Commit

Permalink
feat: set the PEERSERVER_PATH with an environment variable
Browse files Browse the repository at this point in the history
Closes #213
  • Loading branch information
jonasgloning committed Feb 14, 2023
1 parent fc32289 commit 084fb8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/peerjs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const opts = y
type: "string",
demandOption: false,
describe: "custom path",
default: "/",
default: process.env["PEERSERVER_PATH"] || "/",
},
allow_discovery: {
type: "boolean",
Expand Down

0 comments on commit 084fb8a

Please sign in to comment.