Skip to content

Commit

Permalink
Merge pull request #1276 from ainblockchain/bugfix/platfowner/bugfix
Browse files Browse the repository at this point in the history
Change a todo to a note
  • Loading branch information
platfowner authored May 8, 2024
2 parents c52bd35 + cd5775a commit 94e21f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/middleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Middleware {
});
}

// TODO(platfowner): Use dynamic origin (see https://www.npmjs.com/package/cors).
// NOTE(platfowner): For performance reasons, we do not support dynamic origin (see https://www.npmjs.com/package/cors).
corsLimiter() {
return cors({ origin: NodeConfigs.CORS_WHITELIST === '*' ?
NodeConfigs.CORS_WHITELIST : CommonUtil.getRegexpList(NodeConfigs.CORS_WHITELIST) });
Expand Down

0 comments on commit 94e21f3

Please sign in to comment.