Skip to content

Commit

Permalink
update: added client url prop
Browse files Browse the repository at this point in the history
  • Loading branch information
ashutosh7i committed Jan 12, 2024
1 parent 9163bc4 commit adadb1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/chakra-client/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ import App from "./App.js";

const container = document.getElementById("root");
const root = ReactDOM.createRoot(container);

console.log(window.location.origin)
root.render(
<Auth0Provider
domain={process.env.REACT_APP_AUTH0_DOMAIN}
clientId={process.env.REACT_APP_AUTH0_CLIENT_ID}
redirectUri={window.location.origin}
redirectUri={process.env.REACT_APP_CLIENT_URL}
>
<ColorModeScript />
<App />
Expand Down

0 comments on commit adadb1b

Please sign in to comment.