Skip to content
Snippets Groups Projects

edit global Windoes interface to be compiled by typescript

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -6,7 +6,7 @@ export async function createPolicyCheck(user?: Partial<Oidc.Profile>) {
return () => true;
}
const opaBundletUrl = window.__env__.OPA_BUNDLE_URL;
const opaBundletUrl = window.__env__['OPA_BUNDLE_URL'];
if (typeof opaBundletUrl === 'undefined') {
console.log('OPA_BUNDLE_URL is not defined');
Loading