Skip to content

Commit

Permalink
Merge pull request #6 from Student-Labs-2023/develop
Browse files Browse the repository at this point in the history
add dev and production auth
  • Loading branch information
Emil307 authored Jul 24, 2023
2 parents d17d47d + 2210bb1 commit eb3d227
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ pnpm-debug.log*
lerna-debug.log*

node_modules
.env.development
.env.production
dist
dist-ssr
*.local
Expand Down
12 changes: 12 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"@jitsi/react-sdk": "^1.3.0",
"@types/react-webcam": "^3.0.0",
"axios": "^1.4.0",
"dotenv": "^16.3.1",
"jest": "^29.5.0",
"lib-jitsi-meet": "^1.0.6",
"mobx": "^6.9.0",
Expand Down
1 change: 1 addition & 0 deletions src/features/Call/ui/Call.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export const Call: React.FC = () => {
return (
<>
<JitsiMeeting
domain='167.172.169.76'
roomName="MySambeauAPP"
configOverwrite={{
startWithAudioMuted: true,
Expand Down
4 changes: 2 additions & 2 deletions src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
<React.StrictMode>
<BrowserRouter>
<Auth0Provider
domain="dev-txpc5harm481cb6o.us.auth0.com"
clientId="fOB3CWsgCnNLI5q7OMWe9DfWaAXOme2o"
domain={String(import.meta.env.VITE_AUTH0_DOMAIN)}
clientId={String(import.meta.env.VITE_AUTH0_CLIENT_ID)}
authorizationParams={{
redirect_uri: window.location.origin,
}}
Expand Down

0 comments on commit eb3d227

Please sign in to comment.