Skip to content

Commit

Permalink
fix: added nhost Activites After Auth
Browse files Browse the repository at this point in the history
  • Loading branch information
priyankarpal committed Jan 24, 2024
1 parent 2e6a0b7 commit 39ad2ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ REACT_APP_ACTIVITIES_ON=true
REACT_APP_ACTIVITY_ID=hackrplay
REACT_APP_DADJOKES_URL=https://jokeapi-v2.p.rapidapi.com/joke/
REACT_APP_DADJOKES_APIKEY='b71df95c75msha446fab91d0e935p1d0262jsn1d938cb85502'
REACT_APP_DADJOKES_APIHOST='jokeapi-v2.p.rapidapi.com'
REACT_APP_DADJOKES_APIHOST='jokeapi-v2.p.rapidapi.com'
REACT_APP_NHOST_SUBDOMAIN = rgkjmwftqtbpayoyolwh
REACT_APP_NHOST_REGION = ap-southeast-1
3 changes: 2 additions & 1 deletion src/common/routing/RouteDefs.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ import { NhostClient, NhostReactProvider } from '@nhost/react';
import BadgesDashboard from 'common/badges-dashboard';

const nhost = new NhostClient({
backendUrl: process.env.REACT_APP_NHOST_BACKEND_URL || ''
subdomain: process.env.REACT_APP_NHOST_SUBDOMAIN || '',
region: process.env.REACT_APP_NHOST_REGION || ''
});

const RouteDefs = () => {
Expand Down

0 comments on commit 39ad2ea

Please sign in to comment.