Skip to content

Commit

Permalink
Merge branch 'azure_login' of https://github.com/eea/volto-eea-websit…
Browse files Browse the repository at this point in the history
…e-policy into azure_login
  • Loading branch information
dobri1408 committed Apr 19, 2024
2 parents bf0dca4 + 6738335 commit 4e17a49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ const overrideBlocks = {

const applyConfig = (config) => {
// #158717#note-25 any path that isn't static, en or controlpanel is treated as external
const notInEN = /^(?!(#|\/en|\/login-authomatic|\/fallback_login|\/static|\/controlpanel|\/cypress|\/login|\/logout|\/contact-form|\/passwordreset)).*$/;
const notInEN =
/^(?!(#|\/en|\/login-authomatic|\/fallback_login|\/static|\/controlpanel|\/cypress|\/login|\/logout|\/contact-form|\/passwordreset)).*$/;
config.settings.externalRoutes = [
...(config.settings.externalRoutes || []),
{
Expand Down

0 comments on commit 4e17a49

Please sign in to comment.