1. Atlassian
  2. Atlassian Connect
  3. atlassian-connect-express

Commits

Patrick Streule  committed 787df70

ACDEV-1242: Relax whitelist patterns

  • Participants
  • Parent commits 9769e6f
  • Branches master

Comments (0)

Files changed (1)

File lib/internal/config.js

View file
         whitelist: function () {
             var list = get(modeValues, 'whitelist', 'AC_HOST_WHITELIST');
             if (!list) {
-                list = mode === 'production' ? '*.jira.com' : '*';
+                list = mode === 'production' ? '*.jira.com' : ['*.*','*'];
             }
             if (_.isString(list)) {
                 list = [list];