Skip to content

Commit

Permalink
fix(ims): Add externalRoutes to /ims - refs #158717
Browse files Browse the repository at this point in the history
  • Loading branch information
avoinea committed Feb 9, 2023
1 parent 17af3f1 commit 1e5988e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ import installLayoutSettingsBlock from '@eeacms/volto-eea-website-policy/compone
import { addStylingFieldsetSchemaEnhancer } from '@eeacms/volto-eea-website-policy/components/Blocks/schema';

const applyConfig = (config) => {
// IMS
config.settings.externalRoutes = [
...(config.settings.externalRoutes || []),
{ match: '/ims' },
];

// #137187 Keycloak integration
if (runtimeConfig['RAZZLE_KEYCLOAK'] === 'Yes') {
config.settings.externalRoutes = [
Expand Down

0 comments on commit 1e5988e

Please sign in to comment.