Skip to content

Commit

Permalink
Swap installed app page with marketplace apps page
Browse files Browse the repository at this point in the history
  • Loading branch information
cuonghuunguyen authored and chnguyen committed Dec 20, 2021
1 parent ef94c08 commit a1ad00c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/apps/server/bridges/environmental.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class AppEnvironmentalVariableBridge extends EnvironmentalVariableBridge
protected async isReadable(envVarName: string, appId: string): Promise<boolean> {
this.orch.debugLog(`The App ${ appId } is checking if the environmental variable is readable ${ envVarName }.`);

return this.allowed.includes(envVarName.toUpperCase());
return this.allowed.includes(envVarName.toUpperCase()) || envVarName.toUpperCase().startsWith(`RC_APPS_${ appId }_`);
}

protected async isSet(envVarName: string, appId: string): Promise<boolean> {
Expand Down

0 comments on commit a1ad00c

Please sign in to comment.