diff --git a/.env b/.env index 83ee8974..aba3261e 100644 --- a/.env +++ b/.env @@ -2,3 +2,5 @@ BROWSER=none REACT_APP_API_ROOT=https://farmhand.vercel.app/ REACT_APP_NAME=$npm_package_name REACT_APP_VERSION=$npm_package_version +REACT_APP_TURN_USERNAME= +REACT_APP_TURN_CREDENTIAL= diff --git a/package-lock.json b/package-lock.json index 890aa935..2ffe4cc4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@jeremyckahn/farmhand", - "version": "1.18.14", + "version": "1.18.15", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@jeremyckahn/farmhand", - "version": "1.18.14", + "version": "1.18.15", "license": "GPL-2.0-or-later", "dependencies": { "@emotion/react": "^11.11.1", diff --git a/package.json b/package.json index ee7df593..81b10978 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@jeremyckahn/farmhand", - "version": "1.18.14", + "version": "1.18.15", "publishConfig": { "access": "public" }, diff --git a/src/config.js b/src/config.js index 097bd8c0..746537d9 100644 --- a/src/config.js +++ b/src/config.js @@ -53,23 +53,23 @@ export const rtcConfig = { }, { urls: 'turn:a.relay.metered.ca:80', - username: 'fd396a3275680a085c4d66cd', - credential: 'hFQmauZyx0Mv0bCK', + username: process.env.REACT_APP_TURN_USERNAME, + credential: process.env.REACT_APP_TURN_CREDENTIAL, }, { urls: 'turn:a.relay.metered.ca:80?transport=tcp', - username: 'fd396a3275680a085c4d66cd', - credential: 'hFQmauZyx0Mv0bCK', + username: process.env.REACT_APP_TURN_USERNAME, + credential: process.env.REACT_APP_TURN_CREDENTIAL, }, { urls: 'turn:a.relay.metered.ca:443', - username: 'fd396a3275680a085c4d66cd', - credential: 'hFQmauZyx0Mv0bCK', + username: process.env.REACT_APP_TURN_USERNAME, + credential: process.env.REACT_APP_TURN_CREDENTIAL, }, { urls: 'turn:a.relay.metered.ca:443?transport=tcp', - username: 'fd396a3275680a085c4d66cd', - credential: 'hFQmauZyx0Mv0bCK', + username: process.env.REACT_APP_TURN_USERNAME, + credential: process.env.REACT_APP_TURN_CREDENTIAL, }, ], }