Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
parahall committed Jul 13, 2023
1 parent 0ede6c1 commit a316311
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ const isNodeDevEnv = !isBrowser && process.env.NODE_ENV === "development";

const MONDAY_PROTOCOL = (isNodeDevEnv && process.env.MONDAY_COM_PROTOCOL) || "https";
const MONDAY_DOMAIN = (isNodeDevEnv && process.env.MONDAY_COM_DOMAIN) || "monday.com";
const MONDAY_SUBDOMAIN_API = (isNodeDevEnv && process.env.MONDAY_SUBDOMAIN_API) || "api.";
const MONDAY_SUBDOMAIN_API = (isNodeDevEnv && typeof process.env.MONDAY_SUBDOMAIN_API !== 'undefined') ? process.env.MONDAY_SUBDOMAIN_API : "api.";
const MONDAY_API_URL = `${MONDAY_PROTOCOL}://${MONDAY_SUBDOMAIN_API}${MONDAY_DOMAIN}/v2`;
const MONDAY_OAUTH_SUBDOMAIN = (isNodeDevEnv && process.env.MONDAY_OAUTH_SUBDOMAIN) || "auth.";
const MONDAY_OAUTH_SUBDOMAIN = (isNodeDevEnv && typeof process.env.MONDAY_OAUTH_SUBDOMAIN !== 'undefined') ? process.env.MONDAY_SUBDOMAIN_API : "auth.";
const MONDAY_OAUTH_URL = `${MONDAY_PROTOCOL}://${MONDAY_OAUTH_SUBDOMAIN}${MONDAY_DOMAIN}/oauth2/authorize`;
const MONDAY_OAUTH_TOKEN_URL = `${MONDAY_PROTOCOL}://${MONDAY_OAUTH_SUBDOMAIN}${MONDAY_DOMAIN}/oauth2/token`;

Expand Down

0 comments on commit a316311

Please sign in to comment.