diff --git a/CHANGELOG.md b/CHANGELOG.md index 4353c599..922d2429 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. Dates are d Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). +### [0.1.24](https://github.com/eea/volto-cca-policy/compare/0.1.23...0.1.24) - 12 June 2023 + +#### :hammer_and_wrench: Others + +- Try fix external routes configuration. [GhitaB - [`2870d46`](https://github.com/eea/volto-cca-policy/commit/2870d46ae5ce3e7b8a1f7c05fb231fa9952a6f5a)] ### [0.1.23](https://github.com/eea/volto-cca-policy/compare/0.1.22...0.1.23) - 12 June 2023 #### :hammer_and_wrench: Others diff --git a/package.json b/package.json index 2a65ea1b..46dc83f3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@eeacms/volto-cca-policy", - "version": "0.1.23", + "version": "0.1.24", "description": "@eeacms/volto-cca-policy: Volto add-on", "main": "src/index.js", "author": "European Environment Agency: IDM2 A-Team", diff --git a/src/index.js b/src/index.js index ea2c1bb7..0ad0f8e6 100644 --- a/src/index.js +++ b/src/index.js @@ -34,6 +34,9 @@ const applyConfig = (config) => { exact: false, strict: false, }, + url(payload) { + return payload.location.pathname; + }, }, ]; }