Skip to content

Commit

Permalink
LPD-23284 [client extension samples] SF
Browse files Browse the repository at this point in the history
  • Loading branch information
rotty3000 authored and brianchandotcom committed Apr 29, 2024
1 parent d7033bf commit 8980c30
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ const oauth2JWKSURI = `${lxcDXPServerProtocol}://${lxcDXPMainDomain}${
clientExtensionOauthJwksRoute
}`;

const allowList = domains
.map((domain) => `${lxcDXPServerProtocol}://${domain}`);
const allowList = domains.map(
(domain) => `${lxcDXPServerProtocol}://${domain}`
);

const corsOptions = {
origin(origin, callback) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ const uriPath =

const oauth2JWKSURI = `${lxcDXPServerProtocol}://${lxcDXPMainDomain}${uriPath}`;

const allowList = domains
.map((domain) => `${lxcDXPServerProtocol}://${domain}`);
const allowList = domains.map(
(domain) => `${lxcDXPServerProtocol}://${domain}`
);

const corsOptions = {
origin(origin, callback) {
Expand Down

0 comments on commit 8980c30

Please sign in to comment.