From bda17c9f97912c4bc355f6e6f243d2091aa3cc8d Mon Sep 17 00:00:00 2001 From: Ashley Date: Mon, 14 Jun 2021 10:11:04 -0400 Subject: [PATCH 1/4] Send general users to dashboard.daily.co --- dailyjs/basic-call/env.example | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dailyjs/basic-call/env.example b/dailyjs/basic-call/env.example index 09c847a..5ab7e03 100644 --- a/dailyjs/basic-call/env.example +++ b/dailyjs/basic-call/env.example @@ -1,8 +1,8 @@ # Domain excluding 'https://' and 'daily.co' e.g. 'somedomain' DAILY_DOMAIN= -# Obtained from https://dashboard.staging.daily.co/developers +# Obtained from https://dashboard.daily.co/developers DAILY_API_KEY= # Daily REST API endpoint -DAILY_REST_DOMAIN=https://api.daily.co/v1 \ No newline at end of file +DAILY_REST_DOMAIN=https://api.daily.co/v1 From 56d1c92ef883c29bf52f11b42eaea35c7b95cb08 Mon Sep 17 00:00:00 2001 From: Jon Date: Mon, 14 Jun 2021 17:50:21 +0100 Subject: [PATCH 2/4] you can only join as the call owner when fetching a token --- dailyjs/basic-call/components/Intro/Intro.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dailyjs/basic-call/components/Intro/Intro.js b/dailyjs/basic-call/components/Intro/Intro.js index 706ea4d..be04274 100644 --- a/dailyjs/basic-call/components/Intro/Intro.js +++ b/dailyjs/basic-call/components/Intro/Intro.js @@ -47,9 +47,11 @@ export const Intro = ({ room, error, domain, onJoin, fetching = false }) => { setFetchToken(e.target.checked)} /> - - setOwner(e.target.checked)} /> - + {fetchToken && ( + + setOwner(e.target.checked)} /> + + )}