Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GÉANT Service Orchestrator GUI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GÉANT Orchestration and Automation Team
GAP
GÉANT Service Orchestrator GUI
Merge requests
!13
read env veariable using windows.__env__
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
read env veariable using windows.__env__
fix/NAT-402-integrate-with-custom-opa-read-env-varaible
into
develop
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
read env veariable using windows.__env__
Mohammad Torkashvand
requested to merge
fix/NAT-402-integrate-with-custom-opa-read-env-varaible
into
develop
Jan 9, 2024
Overview
0
Commits
1
Pipelines
0
Changes
1
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
e08c189a
1 commit,
Jan 9, 2024
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/utils/policy.ts
+
1
−
1
View file @ e08c189a
Edit in single-file editor
Open in Web IDE
Show full file
@@ -6,7 +6,7 @@ export async function createPolicyCheck(user?: Partial<Oidc.Profile>) {
return
()
=>
true
;
}
const
opaBundletUrl
=
process
.
env
.
OPA_BUNDLE_URL
;
const
opaBundletUrl
=
window
.
__
env
__
.
OPA_BUNDLE_URL
;
if
(
typeof
opaBundletUrl
===
'
undefined
'
)
{
console
.
log
(
'
OPA_BUNDLE_URL is not defined
'
);
Loading