Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .env.development
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
REACT_APP_PLAY_API_URL=https://api.github.com/repos/reactplay
REACT_APP_NHOST_SUBDOMAIN = rgkjmwftqtbpayoyolwh
REACT_APP_NHOST_REGION = ap-southeast-1
REACT_APP_NHOST_BACKEND_URL=https://rgkjmwftqtbpayoyolwh.hasura.ap-southeast-1.nhost.run
REACT_APP_NHOST_AUTH_URL=https://rgkjmwftqtbpayoyolwh.auth.ap-southeast-1.nhost.run
REACT_APP_NHOST_VERSION=v1
Expand Down
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