Skip to content

Commit

Permalink
Merge pull request #6903 from topcoder-platform/develop
Browse files Browse the repository at this point in the history
MP-324 Remove legacy skills nudge -> master
  • Loading branch information
kkartunov authored Aug 4, 2023
2 parents a1c2a53 + 32f0191 commit 362e048
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ workflows:
filters:
branches:
only:
- MKTG-1156
- free
# This is alternate dev env for parallel testing
- "build-qa":
context : org-global
Expand Down
2 changes: 1 addition & 1 deletion config/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ module.exports = {
GAMIFICATION: {
ORG_ID: '6052dd9b-ea80-494b-b258-edd1331e27a3',
ENABLE_BADGE_UI: true,
ENABLE_SKILLS_REMIND_MODAL: true,
ENABLE_SKILLS_REMIND_MODAL: false,
},
PLATFORMUI_SITE_URL: 'https://platform-ui.topcoder-dev.com',
DICE_VERIFY_URL: 'https://accounts-auth0.topcoder-dev.com',
Expand Down
6 changes: 6 additions & 0 deletions src/server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,12 @@ async function onExpressJsSetup(server) {
);
}

if (req.url.startsWith('/examples')) {
// eslint-disable-next-line quotes
res.header('Content-Security-Policy', `frame-ancestors 'self' https://app.contentful.com`);
res.removeHeader('X-Frame-Options');
}

next();
});

Expand Down

0 comments on commit 362e048

Please sign in to comment.