Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/credebl/studio into merg…
Browse files Browse the repository at this point in the history
…e/dev-to-qa-25-07-2024
  • Loading branch information
pranalidhanavade committed Jul 25, 2024
2 parents 2ad3bca + 759305e commit 6aceaf6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PUBLIC_CRYPTO_PRIVATE_KEY=
PUBLIC_SHOW_NAME_AS_LOGO= # Please provide true if you want to give platform name with logo

PUBLIC_KEYCLOAK_MANAGEMENT_CLIENT_ID= # Please sepcify your client id
PUBLIC_KEYCLOAK_MANAGEMENT_CLIENT_SECRETE= # Please specify your client secrete
PUBLIC_KEYCLOAK_MANAGEMENT_CLIENT_SECRET= # Please specify your client secrete

PUBLIC_PLATFORM_NAME= # Please specify your paltform name
PUBLIC_PLATFORM_LOGO= # Please specify your logo file link
Expand Down
2 changes: 1 addition & 1 deletion src/components/Authentication/SignUpUser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const SignUpUser = () => {
const payload = {
email: email,
clientId: passwordEncryption(envConfig.PLATFORM_DATA.clientId),
clientSecret:passwordEncryption(envConfig.PLATFORM_DATA.clientSecrete)
clientSecret:passwordEncryption(envConfig.PLATFORM_DATA.clientSecret)
}

setVerifyLoader(true)
Expand Down
8 changes: 4 additions & 4 deletions src/config/envConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if (import.meta.env) {
}
}

const { PUBLIC_BASE_URL, PUBLIC_POLYGON_TESTNET_URL, PUBLIC_POLYGON_MAINNET_URL, PUBLIC_CRYPTO_PRIVATE_KEY,PUBLIC_SHOW_NAME_AS_LOGO, PUBLIC_PLATFORM_NAME, PUBLIC_PLATFORM_LOGO, PUBLIC_POWERED_BY, PUBLIC_PLATFORM_WEB_URL, PUBLIC_POWERED_BY_URL, PUBLIC_PLATFORM_DOCS_URL, PUBLIC_PLATFORM_GIT, PUBLIC_PLATFORM_SUPPORT_EMAIL, PUBLIC_PLATFORM_TWITTER_URL, PUBLIC_KEYCLOAK_MANAGEMENT_CLIENT_ID, PUBLIC_KEYCLOAK_MANAGEMENT_CLIENT_SECRETE, PUBLIC_PLATFORM_SUPPORT_INVITE, PUBLIC_PLATFORM_DISCORD_URL, PUBLIC_ALLOW_DOMAIN }: any = envVariables;
const { PUBLIC_BASE_URL, PUBLIC_POLYGON_TESTNET_URL, PUBLIC_POLYGON_MAINNET_URL, PUBLIC_CRYPTO_PRIVATE_KEY,PUBLIC_SHOW_NAME_AS_LOGO, PUBLIC_PLATFORM_NAME, PUBLIC_PLATFORM_LOGO, PUBLIC_POWERED_BY, PUBLIC_PLATFORM_WEB_URL, PUBLIC_POWERED_BY_URL, PUBLIC_PLATFORM_DOCS_URL, PUBLIC_PLATFORM_GIT, PUBLIC_PLATFORM_SUPPORT_EMAIL, PUBLIC_PLATFORM_TWITTER_URL, PUBLIC_KEYCLOAK_MANAGEMENT_CLIENT_ID, PUBLIC_KEYCLOAK_MANAGEMENT_CLIENT_SECRET, PUBLIC_PLATFORM_SUPPORT_INVITE, PUBLIC_PLATFORM_DISCORD_URL, PUBLIC_ALLOW_DOMAIN }: any = envVariables;

export const envConfig = {
PUBLIC_BASE_URL:
Expand Down Expand Up @@ -65,9 +65,9 @@ export const envConfig = {
clientId:
PUBLIC_KEYCLOAK_MANAGEMENT_CLIENT_ID ||
import.meta.env.PUBLIC_KEYCLOAK_MANAGEMENT_CLIENT_ID,
clientSecrete:
PUBLIC_KEYCLOAK_MANAGEMENT_CLIENT_SECRETE ||
import.meta.env.PUBLIC_KEYCLOAK_MANAGEMENT_CLIENT_SECRETE,
clientSecret:
PUBLIC_KEYCLOAK_MANAGEMENT_CLIENT_SECRET ||
import.meta.env.PUBLIC_KEYCLOAK_MANAGEMENT_CLIENT_SECRET,
},
PUBLIC_ALLOW_DOMAIN: PUBLIC_ALLOW_DOMAIN || import.meta.env.PUBLIC_ALLOW_DOMAIN
}

0 comments on commit 6aceaf6

Please sign in to comment.