From a25bf60505a30d3de1c66db743712d0bdd80774a Mon Sep 17 00:00:00 2001 From: David Glick Date: Sun, 1 Dec 2024 17:58:40 -0300 Subject: [PATCH 1/2] Avoid the need for special Volto settings --- config.js.sample | 2 +- docs/examples/breadcrumbs/get.res | 6 ++-- docs/examples/content/get.res | 18 +++++------ docs/examples/content/get_root.res | 24 +++++++------- docs/examples/content/post.res | 18 +++++------ docs/examples/controlpanels/get.res | 2 +- docs/examples/controlpanels/list.res | 8 ++--- docs/examples/copymove/copy.res | 4 +-- docs/examples/copymove/copy_multiple.res | 8 ++--- docs/examples/copymove/move.res | 4 +-- docs/examples/database/get.res | 2 +- docs/examples/groups/get.res | 2 +- docs/examples/groups/list.res | 2 +- docs/examples/groups/list_query.res | 2 +- docs/examples/groups/post.res | 2 +- docs/examples/history/get.res | 10 +++--- docs/examples/history/get_version.res | 18 +++++------ docs/examples/locking/get.res | 2 +- docs/examples/locking/patch.res | 2 +- docs/examples/locking/post.res | 2 +- docs/examples/locking/post_options.res | 2 +- docs/examples/navigation/get.res | 8 ++--- docs/examples/navroot/get.res | 8 ++--- docs/examples/querystring/get.res | 2 +- docs/examples/roles/get.res | 16 +++++----- docs/examples/search/get.res | 12 +++---- docs/examples/search/get_batch.res | 6 ++-- docs/examples/search/get_depth.res | 8 ++--- docs/examples/search/get_news.res | 4 +-- docs/examples/search/get_offset.res | 8 ++--- docs/examples/search/get_sort_date.res | 12 +++---- docs/examples/search/get_sort_reverse.res | 12 +++---- docs/examples/search/get_sort_title.res | 12 +++---- docs/examples/search/get_sort_unknown.res | 12 +++---- docs/examples/search/get_unknown.res | 12 +++---- docs/examples/search/post.res | 12 +++---- docs/examples/site/get.res | 2 +- docs/examples/system/get.res | 2 +- docs/examples/translations/get.res | 8 ++--- docs/examples/translations/get_expansion.res | 18 +++++------ .../translations/get_expansion_expanded.res | 24 +++++++------- docs/examples/translations/get_locator.res | 2 +- docs/examples/translations/post.res | 18 +++++------ docs/examples/translations/post_url.req | 2 +- docs/examples/types/list.res | 10 +++--- docs/examples/types/list_i18n.res | 10 +++--- docs/examples/users/get.res | 2 +- docs/examples/users/list.res | 4 +-- docs/examples/users/list_query.res | 2 +- docs/examples/users/post.res | 2 +- docs/examples/users/post_registration.res | 2 +- docs/examples/vocabularies/get.res | 2 +- docs/examples/vocabularies/get_actions.res | 2 +- docs/examples/vocabularies/get_behaviors.res | 2 +- docs/examples/vocabularies/get_boolean.res | 2 +- docs/examples/vocabularies/get_groups.res | 2 +- .../vocabularies/get_image_scales.res | 2 +- .../examples/vocabularies/get_permissions.res | 2 +- docs/examples/vocabularies/get_subjects.res | 2 +- .../vocabularies/get_supported_languages.res | 2 +- .../vocabularies/get_system_groups.res | 2 +- .../vocabularies/get_system_users.res | 2 +- docs/examples/vocabularies/get_types.res | 2 +- docs/examples/vocabularies/get_users.res | 2 +- .../vocabularies/get_workflow_states.res | 2 +- docs/examples/vocabularies/get_workflows.res | 2 +- docs/examples/vocabularies/list.res | 32 +++++++++---------- docs/examples/workflow/get.res | 6 ++-- frontend/src/config.js.sample | 2 -- jest.setup.js | 4 +-- .../generators/app/templates/config.js.tpl | 2 +- site/index.html | 4 +-- src/app.js | 3 +- src/helpers/url/url.test.js | 12 +++---- src/middleware/index.js | 1 + src/middleware/volto/volto.js | 10 ++++++ 76 files changed, 254 insertions(+), 244 deletions(-) create mode 100644 src/middleware/volto/volto.js diff --git a/config.js.sample b/config.js.sample index a1e0a7a..f6bbde1 100644 --- a/config.js.sample +++ b/config.js.sample @@ -9,7 +9,7 @@ export const config = { password: 'nick', }, blobsDir: `${__dirname}/var/blobstorage`, - port: 8000, + port: 8080, secret: 'secret', clientMaxSize: '64mb', systemUsers: ['admin', 'anonymous'], diff --git a/docs/examples/breadcrumbs/get.res b/docs/examples/breadcrumbs/get.res index dd54142..1f5b170 100644 --- a/docs/examples/breadcrumbs/get.res +++ b/docs/examples/breadcrumbs/get.res @@ -2,14 +2,14 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/events/event-1/@breadcrumbs", + "@id": "http://localhost:8080/events/event-1/@breadcrumbs", "items": [ { - "@id": "http://localhost:8000/events", + "@id": "http://localhost:8080/events", "title": "Events" }, { - "@id": "http://localhost:8000/events/event-1", + "@id": "http://localhost:8080/events/event-1", "title": "Event 1" } ], diff --git a/docs/examples/content/get.res b/docs/examples/content/get.res index b8a058c..d674ddf 100644 --- a/docs/examples/content/get.res +++ b/docs/examples/content/get.res @@ -17,31 +17,31 @@ Content-Type: application/json "items": [], "@components": { "actions": { - "@id": "http://localhost:8000/news/@actions" + "@id": "http://localhost:8080/news/@actions" }, "breadcrumbs": { - "@id": "http://localhost:8000/news/@breadcrumbs" + "@id": "http://localhost:8080/news/@breadcrumbs" }, "catalog": { - "@id": "http://localhost:8000/news/@catalog" + "@id": "http://localhost:8080/news/@catalog" }, "navigation": { - "@id": "http://localhost:8000/news/@navigation" + "@id": "http://localhost:8080/news/@navigation" }, "navroot": { - "@id": "http://localhost:8000/news/@navroot" + "@id": "http://localhost:8080/news/@navroot" }, "translations": { - "@id": "http://localhost:8000/news/@translations" + "@id": "http://localhost:8080/news/@translations" }, "types": { - "@id": "http://localhost:8000/news/@types" + "@id": "http://localhost:8080/news/@types" }, "workflow": { - "@id": "http://localhost:8000/news/@workflow" + "@id": "http://localhost:8080/news/@workflow" } }, - "@id": "http://localhost:8000/news", + "@id": "http://localhost:8080/news", "@type": "Folder", "id": "news", "language": { diff --git a/docs/examples/content/get_root.res b/docs/examples/content/get_root.res index 19da5a1..6ad7ddf 100644 --- a/docs/examples/content/get_root.res +++ b/docs/examples/content/get_root.res @@ -153,7 +153,7 @@ Content-Type: application/json "blocks": { "79ba8858-1dd3-4719-b731-5951e32fbf79": { "@type": "title" } }, "effective": "2022-04-02T20:30:00.000Z", "blocks_layout": { "items": ["79ba8858-1dd3-4719-b731-5951e32fbf79"] }, - "@id": "http://localhost:8000/events", + "@id": "http://localhost:8080/events", "@type": "Folder", "id": "events", "created": "2022-04-02T20:30:00.000Z", @@ -172,7 +172,7 @@ Content-Type: application/json "effective": "2022-04-02T20:22:00.000Z", "description": "News Items", "blocks_layout": { "items": ["79ba8858-1dd3-4719-b731-5951e32fbf79"] }, - "@id": "http://localhost:8000/news", + "@id": "http://localhost:8080/news", "@type": "Folder", "id": "news", "created": "2022-04-02T20:22:00.000Z", @@ -190,7 +190,7 @@ Content-Type: application/json "blocks": { "79ba8858-1dd3-4719-b731-5951e32fbf79": { "@type": "title" } }, "effective": "2022-04-02T20:24:00.000Z", "blocks_layout": { "items": ["79ba8858-1dd3-4719-b731-5951e32fbf79"] }, - "@id": "http://localhost:8000/users", + "@id": "http://localhost:8080/users", "@type": "Folder", "id": "users", "created": "2022-04-02T20:24:00.000Z", @@ -205,16 +205,16 @@ Content-Type: application/json } ], "@components": { - "catalog": { "@id": "http://localhost:8000/@catalog" }, - "actions": { "@id": "http://localhost:8000/@actions" }, - "breadcrumbs": { "@id": "http://localhost:8000/@breadcrumbs" }, - "navigation": { "@id": "http://localhost:8000/@navigation" }, - "navroot": { "@id": "http://localhost:8000/@navroot" }, - "types": { "@id": "http://localhost:8000/@types" }, - "workflow": { "@id": "http://localhost:8000/@workflow" }, - "translations": { "@id": "http://localhost:8000/@translations" } + "catalog": { "@id": "http://localhost:8080/@catalog" }, + "actions": { "@id": "http://localhost:8080/@actions" }, + "breadcrumbs": { "@id": "http://localhost:8080/@breadcrumbs" }, + "navigation": { "@id": "http://localhost:8080/@navigation" }, + "navroot": { "@id": "http://localhost:8080/@navroot" }, + "types": { "@id": "http://localhost:8080/@types" }, + "workflow": { "@id": "http://localhost:8080/@workflow" }, + "translations": { "@id": "http://localhost:8080/@translations" } }, - "@id": "http://localhost:8000", + "@id": "http://localhost:8080", "@type": "Site", "id": "root", "created": "2022-04-02T20:00:00.000Z", diff --git a/docs/examples/content/post.res b/docs/examples/content/post.res index c90a8cb..abf5a1f 100644 --- a/docs/examples/content/post.res +++ b/docs/examples/content/post.res @@ -6,31 +6,31 @@ Content-Type: application/json "description": "News Description", "@components": { "actions": { - "@id": "http://localhost:8000/news/@actions" + "@id": "http://localhost:8080/news/@actions" }, "breadcrumbs": { - "@id": "http://localhost:8000/news/@breadcrumbs" + "@id": "http://localhost:8080/news/@breadcrumbs" }, "catalog": { - "@id": "http://localhost:8000/news/@catalog" + "@id": "http://localhost:8080/news/@catalog" }, "navigation": { - "@id": "http://localhost:8000/news/@navigation" + "@id": "http://localhost:8080/news/@navigation" }, "navroot": { - "@id": "http://localhost:8000/news/@navroot" + "@id": "http://localhost:8080/news/@navroot" }, "translations": { - "@id": "http://localhost:8000/news/@translations" + "@id": "http://localhost:8080/news/@translations" }, "types": { - "@id": "http://localhost:8000/news/@types" + "@id": "http://localhost:8080/news/@types" }, "workflow": { - "@id": "http://localhost:8000/news/@workflow" + "@id": "http://localhost:8080/news/@workflow" } }, - "@id": "http://localhost:8000/news/my-news-item", + "@id": "http://localhost:8080/news/my-news-item", "@type": "Page", "id": "my-news-item", "created": "2022-04-08T16:00:00.000Z", diff --git a/docs/examples/controlpanels/get.res b/docs/examples/controlpanels/get.res index 77cf797..9de2b20 100644 --- a/docs/examples/controlpanels/get.res +++ b/docs/examples/controlpanels/get.res @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@controlpanels/mail", + "@id": "http://localhost:8080/@controlpanels/mail", "group": "General", "title": "Mail", "data": { diff --git a/docs/examples/controlpanels/list.res b/docs/examples/controlpanels/list.res index dd077cb..9b313cf 100644 --- a/docs/examples/controlpanels/list.res +++ b/docs/examples/controlpanels/list.res @@ -3,22 +3,22 @@ Content-Type: application/json [ { - "@id": "http://localhost:8000/@controlpanels/language", + "@id": "http://localhost:8080/@controlpanels/language", "group": "General", "title": "Language" }, { - "@id": "http://localhost:8000/@controlpanels/mail", + "@id": "http://localhost:8080/@controlpanels/mail", "group": "General", "title": "Mail" }, { - "@id": "http://localhost:8000/@controlpanels/navigation", + "@id": "http://localhost:8080/@controlpanels/navigation", "group": "General", "title": "Navigation" }, { - "@id": "http://localhost:8000/@controlpanels/site", + "@id": "http://localhost:8080/@controlpanels/site", "group": "General", "title": "Site" } diff --git a/docs/examples/copymove/copy.res b/docs/examples/copymove/copy.res index 6ae67ae..484aaa5 100644 --- a/docs/examples/copymove/copy.res +++ b/docs/examples/copymove/copy.res @@ -3,7 +3,7 @@ Content-Type: application/json [ { - "source": "http://localhost:8000/events/event-1", - "target": "http://localhost:8000/news/event-1" + "source": "http://localhost:8080/events/event-1", + "target": "http://localhost:8080/news/event-1" } ] diff --git a/docs/examples/copymove/copy_multiple.res b/docs/examples/copymove/copy_multiple.res index 84c78f7..ea016b8 100644 --- a/docs/examples/copymove/copy_multiple.res +++ b/docs/examples/copymove/copy_multiple.res @@ -3,11 +3,11 @@ Content-Type: application/json [ { - "source": "http://localhost:8000/events", - "target": "http://localhost:8000/news/events" + "source": "http://localhost:8080/events", + "target": "http://localhost:8080/news/events" }, { - "source": "http://localhost:8000/users", - "target": "http://localhost:8000/news/users" + "source": "http://localhost:8080/users", + "target": "http://localhost:8080/news/users" } ] diff --git a/docs/examples/copymove/move.res b/docs/examples/copymove/move.res index 6ae67ae..484aaa5 100644 --- a/docs/examples/copymove/move.res +++ b/docs/examples/copymove/move.res @@ -3,7 +3,7 @@ Content-Type: application/json [ { - "source": "http://localhost:8000/events/event-1", - "target": "http://localhost:8000/news/event-1" + "source": "http://localhost:8080/events/event-1", + "target": "http://localhost:8080/news/event-1" } ] diff --git a/docs/examples/database/get.res b/docs/examples/database/get.res index 9b2005b..ebed614 100644 --- a/docs/examples/database/get.res +++ b/docs/examples/database/get.res @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@database", + "@id": "http://localhost:8080/@database", "db_name": "nick", "db_size": "10 MB", "pool": { diff --git a/docs/examples/groups/get.res b/docs/examples/groups/get.res index 9b1ddea..e62b8c4 100644 --- a/docs/examples/groups/get.res +++ b/docs/examples/groups/get.res @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@groups/Administrators", + "@id": "http://localhost:8080/@groups/Administrators", "id": "Administrators", "title": "Administrators", "description": "", diff --git a/docs/examples/groups/list.res b/docs/examples/groups/list.res index 1e65222..7b117a3 100644 --- a/docs/examples/groups/list.res +++ b/docs/examples/groups/list.res @@ -3,7 +3,7 @@ Content-Type: application/json [ { - "@id": "http://localhost:8000/@groups/Administrators", + "@id": "http://localhost:8080/@groups/Administrators", "description": "", "email": "", "groupname": "Administrators", diff --git a/docs/examples/groups/list_query.res b/docs/examples/groups/list_query.res index 1e65222..7b117a3 100644 --- a/docs/examples/groups/list_query.res +++ b/docs/examples/groups/list_query.res @@ -3,7 +3,7 @@ Content-Type: application/json [ { - "@id": "http://localhost:8000/@groups/Administrators", + "@id": "http://localhost:8080/@groups/Administrators", "description": "", "email": "", "groupname": "Administrators", diff --git a/docs/examples/groups/post.res b/docs/examples/groups/post.res index 42829b5..922153f 100644 --- a/docs/examples/groups/post.res +++ b/docs/examples/groups/post.res @@ -2,7 +2,7 @@ HTTP/1.1 201 Created Content-Type: application/json { - "@id": "http://localhost:8000/@groups/nicks", + "@id": "http://localhost:8080/@groups/nicks", "id": "nicks", "groupname": "nicks", "description": "Nearly Headless Nicks", diff --git a/docs/examples/history/get.res b/docs/examples/history/get.res index e6aaca7..a69e998 100644 --- a/docs/examples/history/get.res +++ b/docs/examples/history/get.res @@ -3,10 +3,10 @@ Content-Type: application/json [ { - "@id": "http://localhost:8000/news/@history/1", + "@id": "http://localhost:8080/news/@history/1", "action": "Edited", "actor": { - "@id": "http://localhost:8000/@users/admin", + "@id": "http://localhost:8080/@users/admin", "fullname": "Admin", "id": "admin", "username": "admin" @@ -21,7 +21,7 @@ Content-Type: application/json { "time": "2022-04-03T20:22:00.000Z", "actor": { - "@id": "http://localhost:8000/@users/admin", + "@id": "http://localhost:8080/@users/admin", "fullname": "Admin", "id": "admin", "username": "admin" @@ -34,10 +34,10 @@ Content-Type: application/json "type": "workflow" }, { - "@id": "http://localhost:8000/news/@history/0", + "@id": "http://localhost:8080/news/@history/0", "action": "Edited", "actor": { - "@id": "http://localhost:8000/@users/admin", + "@id": "http://localhost:8080/@users/admin", "fullname": "Admin", "id": "admin", "username": "admin" diff --git a/docs/examples/history/get_version.res b/docs/examples/history/get_version.res index ab4f97a..b583b96 100644 --- a/docs/examples/history/get_version.res +++ b/docs/examples/history/get_version.res @@ -15,35 +15,35 @@ Content-Type: application/json "items": [], "@components": { "actions": { - "@id": "http://localhost:8000/news/@actions" + "@id": "http://localhost:8080/news/@actions" }, "breadcrumbs": { - "@id": "http://localhost:8000/news/@breadcrumbs" + "@id": "http://localhost:8080/news/@breadcrumbs" }, "catalog": { - "@id": "http://localhost:8000/news/@catalog" + "@id": "http://localhost:8080/news/@catalog" }, "navigation": { - "@id": "http://localhost:8000/news/@navigation" + "@id": "http://localhost:8080/news/@navigation" }, "navroot": { - "@id": "http://localhost:8000/news/@navroot" + "@id": "http://localhost:8080/news/@navroot" }, "translations": { - "@id": "http://localhost:8000/news/@translations" + "@id": "http://localhost:8080/news/@translations" }, "types": { - "@id": "http://localhost:8000/news/@types" + "@id": "http://localhost:8080/news/@types" }, "workflow": { - "@id": "http://localhost:8000/news/@workflow" + "@id": "http://localhost:8080/news/@workflow" } }, "language": { "title": "English", "token": "en" }, - "@id": "http://localhost:8000/news", + "@id": "http://localhost:8080/news", "@type": "Folder", "id": "news", "created": "2022-04-02T20:22:00.000Z", diff --git a/docs/examples/locking/get.res b/docs/examples/locking/get.res index ed17d2d..82481fc 100644 --- a/docs/examples/locking/get.res +++ b/docs/examples/locking/get.res @@ -5,7 +5,7 @@ Content-Type: application/json "created": "2022-04-08T16:00:00.000Z", "creator": "admin", "creator_name": "Admin", - "creator_url": "http://localhost:8000/@users/admin", + "creator_url": "http://localhost:8080/@users/admin", "locked": true, "stealable": true, "time": "2022-04-08T16:00:00.000Z", diff --git a/docs/examples/locking/patch.res b/docs/examples/locking/patch.res index ed17d2d..82481fc 100644 --- a/docs/examples/locking/patch.res +++ b/docs/examples/locking/patch.res @@ -5,7 +5,7 @@ Content-Type: application/json "created": "2022-04-08T16:00:00.000Z", "creator": "admin", "creator_name": "Admin", - "creator_url": "http://localhost:8000/@users/admin", + "creator_url": "http://localhost:8080/@users/admin", "locked": true, "stealable": true, "time": "2022-04-08T16:00:00.000Z", diff --git a/docs/examples/locking/post.res b/docs/examples/locking/post.res index ed17d2d..82481fc 100644 --- a/docs/examples/locking/post.res +++ b/docs/examples/locking/post.res @@ -5,7 +5,7 @@ Content-Type: application/json "created": "2022-04-08T16:00:00.000Z", "creator": "admin", "creator_name": "Admin", - "creator_url": "http://localhost:8000/@users/admin", + "creator_url": "http://localhost:8080/@users/admin", "locked": true, "stealable": true, "time": "2022-04-08T16:00:00.000Z", diff --git a/docs/examples/locking/post_options.res b/docs/examples/locking/post_options.res index 85fca58..29a74da 100644 --- a/docs/examples/locking/post_options.res +++ b/docs/examples/locking/post_options.res @@ -5,7 +5,7 @@ Content-Type: application/json "created": "2022-04-08T16:00:00.000Z", "creator": "admin", "creator_name": "Admin", - "creator_url": "http://localhost:8000/@users/admin", + "creator_url": "http://localhost:8080/@users/admin", "locked": true, "stealable": false, "time": "2022-04-08T16:00:00.000Z", diff --git a/docs/examples/navigation/get.res b/docs/examples/navigation/get.res index a800c92..61d2952 100644 --- a/docs/examples/navigation/get.res +++ b/docs/examples/navigation/get.res @@ -2,10 +2,10 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/news/@navigation", + "@id": "http://localhost:8080/news/@navigation", "items": [ { - "@id": "http://localhost:8000/events", + "@id": "http://localhost:8080/events", "@type": "Folder", "title": "Events", "UID": "1a2123ba-14e8-4910-8e6b-c04a40d72a41", @@ -35,7 +35,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:30:00.000Z" }, { - "@id": "http://localhost:8000/news", + "@id": "http://localhost:8080/news", "@type": "Folder", "title": "News", "UID": "32215c67-86de-462a-8cc0-eabcd2b39c26", @@ -65,7 +65,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:22:00.000Z" }, { - "@id": "http://localhost:8000/users", + "@id": "http://localhost:8080/users", "@type": "Folder", "title": "Users", "UID": "80994493-74ca-4b94-9a7c-145a33a6dd80", diff --git a/docs/examples/navroot/get.res b/docs/examples/navroot/get.res index d8c164d..331b8fe 100644 --- a/docs/examples/navroot/get.res +++ b/docs/examples/navroot/get.res @@ -153,7 +153,7 @@ Content-Type: application/json "blocks": { "79ba8858-1dd3-4719-b731-5951e32fbf79": { "@type": "title" } }, "effective": "2022-04-02T20:30:00.000Z", "blocks_layout": { "items": ["79ba8858-1dd3-4719-b731-5951e32fbf79"] }, - "@id": "http://localhost:8000/events", + "@id": "http://localhost:8080/events", "@type": "Folder", "id": "events", "created": "2022-04-02T20:30:00.000Z", @@ -172,7 +172,7 @@ Content-Type: application/json "effective": "2022-04-02T20:22:00.000Z", "description": "News Items", "blocks_layout": { "items": ["79ba8858-1dd3-4719-b731-5951e32fbf79"] }, - "@id": "http://localhost:8000/news", + "@id": "http://localhost:8080/news", "@type": "Folder", "id": "news", "created": "2022-04-02T20:22:00.000Z", @@ -190,7 +190,7 @@ Content-Type: application/json "blocks": { "79ba8858-1dd3-4719-b731-5951e32fbf79": { "@type": "title" } }, "effective": "2022-04-02T20:24:00.000Z", "blocks_layout": { "items": ["79ba8858-1dd3-4719-b731-5951e32fbf79"] }, - "@id": "http://localhost:8000/users", + "@id": "http://localhost:8080/users", "@type": "Folder", "id": "users", "created": "2022-04-02T20:24:00.000Z", @@ -204,7 +204,7 @@ Content-Type: application/json "lock": { "locked": false, "stealable": true } } ], - "@id": "http://localhost:8000", + "@id": "http://localhost:8080", "@type": "Site", "id": "root", "created": "2022-04-02T20:00:00.000Z", diff --git a/docs/examples/querystring/get.res b/docs/examples/querystring/get.res index dc6ef91..01cb19b 100644 --- a/docs/examples/querystring/get.res +++ b/docs/examples/querystring/get.res @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@querystring", + "@id": "http://localhost:8080/@querystring", "indexes": { "created": { "title": "Creation date", diff --git a/docs/examples/roles/get.res b/docs/examples/roles/get.res index 9bc991d..fbd305c 100644 --- a/docs/examples/roles/get.res +++ b/docs/examples/roles/get.res @@ -3,49 +3,49 @@ Content-Type: application/json [ { - "@id": "http://localhost:8000/@roles/Anonymous", + "@id": "http://localhost:8080/@roles/Anonymous", "@type": "role", "id": "Anonymous", "title": "Anonymous" }, { - "@id": "http://localhost:8000/@roles/Authenticated", + "@id": "http://localhost:8080/@roles/Authenticated", "@type": "role", "id": "Authenticated", "title": "Authenticated" }, { - "@id": "http://localhost:8000/@roles/Owner", + "@id": "http://localhost:8080/@roles/Owner", "@type": "role", "id": "Owner", "title": "Owner" }, { - "@id": "http://localhost:8000/@roles/Reader", + "@id": "http://localhost:8080/@roles/Reader", "@type": "role", "id": "Reader", "title": "Reader" }, { - "@id": "http://localhost:8000/@roles/Contributor", + "@id": "http://localhost:8080/@roles/Contributor", "@type": "role", "id": "Contributor", "title": "Contributor" }, { - "@id": "http://localhost:8000/@roles/Editor", + "@id": "http://localhost:8080/@roles/Editor", "@type": "role", "id": "Editor", "title": "Editor" }, { - "@id": "http://localhost:8000/@roles/Reviewer", + "@id": "http://localhost:8080/@roles/Reviewer", "@type": "role", "id": "Reviewer", "title": "Reviewer" }, { - "@id": "http://localhost:8000/@roles/Administrator", + "@id": "http://localhost:8080/@roles/Administrator", "@type": "role", "id": "Administrator", "title": "Administrator" diff --git a/docs/examples/search/get.res b/docs/examples/search/get.res index fa9d154..4e2f60c 100644 --- a/docs/examples/search/get.res +++ b/docs/examples/search/get.res @@ -2,10 +2,10 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@search", + "@id": "http://localhost:8080/@search", "items": [ { - "@id": "http://localhost:8000/events", + "@id": "http://localhost:8080/events", "@type": "Folder", "title": "Events", "UID": "1a2123ba-14e8-4910-8e6b-c04a40d72a41", @@ -35,7 +35,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:30:00.000Z" }, { - "@id": "http://localhost:8000/news", + "@id": "http://localhost:8080/news", "@type": "Folder", "title": "News", "UID": "32215c67-86de-462a-8cc0-eabcd2b39c26", @@ -65,7 +65,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:22:00.000Z" }, { - "@id": "http://localhost:8000/events/event-1", + "@id": "http://localhost:8080/events/event-1", "@type": "Page", "title": "Event 1", "UID": "405ca717-0c68-43a0-88ac-629a82658675", @@ -95,7 +95,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:10:00.000Z" }, { - "@id": "http://localhost:8000/users", + "@id": "http://localhost:8080/users", "@type": "Folder", "title": "Users", "UID": "80994493-74ca-4b94-9a7c-145a33a6dd80", @@ -125,7 +125,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:24:00.000Z" }, { - "@id": "http://localhost:8000/", + "@id": "http://localhost:8080/", "@type": "Site", "title": "Welcome to Nick!", "UID": "92a80817-f5b7-400d-8f58-b08126f0f09b", diff --git a/docs/examples/search/get_batch.res b/docs/examples/search/get_batch.res index a43ec05..774ac6b 100644 --- a/docs/examples/search/get_batch.res +++ b/docs/examples/search/get_batch.res @@ -2,10 +2,10 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@search", + "@id": "http://localhost:8080/@search", "items": [ { - "@id": "http://localhost:8000/events", + "@id": "http://localhost:8080/events", "@type": "Folder", "title": "Events", "UID": "1a2123ba-14e8-4910-8e6b-c04a40d72a41", @@ -35,7 +35,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:30:00.000Z" }, { - "@id": "http://localhost:8000/news", + "@id": "http://localhost:8080/news", "@type": "Folder", "title": "News", "UID": "32215c67-86de-462a-8cc0-eabcd2b39c26", diff --git a/docs/examples/search/get_depth.res b/docs/examples/search/get_depth.res index 70517ce..a31a1f0 100644 --- a/docs/examples/search/get_depth.res +++ b/docs/examples/search/get_depth.res @@ -2,10 +2,10 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@search", + "@id": "http://localhost:8080/@search", "items": [ { - "@id": "http://localhost:8000/events", + "@id": "http://localhost:8080/events", "@type": "Folder", "title": "Events", "UID": "1a2123ba-14e8-4910-8e6b-c04a40d72a41", @@ -35,7 +35,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:30:00.000Z" }, { - "@id": "http://localhost:8000/news", + "@id": "http://localhost:8080/news", "@type": "Folder", "title": "News", "UID": "32215c67-86de-462a-8cc0-eabcd2b39c26", @@ -65,7 +65,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:22:00.000Z" }, { - "@id": "http://localhost:8000/users", + "@id": "http://localhost:8080/users", "@type": "Folder", "title": "Users", "UID": "80994493-74ca-4b94-9a7c-145a33a6dd80", diff --git a/docs/examples/search/get_news.res b/docs/examples/search/get_news.res index 80b311b..9c273fe 100644 --- a/docs/examples/search/get_news.res +++ b/docs/examples/search/get_news.res @@ -2,10 +2,10 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@search", + "@id": "http://localhost:8080/@search", "items": [ { - "@id": "http://localhost:8000/news", + "@id": "http://localhost:8080/news", "@type": "Folder", "title": "News", "UID": "32215c67-86de-462a-8cc0-eabcd2b39c26", diff --git a/docs/examples/search/get_offset.res b/docs/examples/search/get_offset.res index 5bb9884..c4272a6 100644 --- a/docs/examples/search/get_offset.res +++ b/docs/examples/search/get_offset.res @@ -2,10 +2,10 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@search", + "@id": "http://localhost:8080/@search", "items": [ { - "@id": "http://localhost:8000/events/event-1", + "@id": "http://localhost:8080/events/event-1", "@type": "Page", "title": "Event 1", "UID": "405ca717-0c68-43a0-88ac-629a82658675", @@ -35,7 +35,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:10:00.000Z" }, { - "@id": "http://localhost:8000/users", + "@id": "http://localhost:8080/users", "@type": "Folder", "title": "Users", "UID": "80994493-74ca-4b94-9a7c-145a33a6dd80", @@ -65,7 +65,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:24:00.000Z" }, { - "@id": "http://localhost:8000/", + "@id": "http://localhost:8080/", "@type": "Site", "title": "Welcome to Nick!", "UID": "92a80817-f5b7-400d-8f58-b08126f0f09b", diff --git a/docs/examples/search/get_sort_date.res b/docs/examples/search/get_sort_date.res index 376d49d..b8d2977 100644 --- a/docs/examples/search/get_sort_date.res +++ b/docs/examples/search/get_sort_date.res @@ -2,10 +2,10 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@search", + "@id": "http://localhost:8080/@search", "items": [ { - "@id": "http://localhost:8000/", + "@id": "http://localhost:8080/", "@type": "Site", "title": "Welcome to Nick!", "UID": "92a80817-f5b7-400d-8f58-b08126f0f09b", @@ -35,7 +35,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:00:00.000Z" }, { - "@id": "http://localhost:8000/events/event-1", + "@id": "http://localhost:8080/events/event-1", "@type": "Page", "title": "Event 1", "UID": "405ca717-0c68-43a0-88ac-629a82658675", @@ -65,7 +65,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:10:00.000Z" }, { - "@id": "http://localhost:8000/news", + "@id": "http://localhost:8080/news", "@type": "Folder", "title": "News", "UID": "32215c67-86de-462a-8cc0-eabcd2b39c26", @@ -95,7 +95,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:22:00.000Z" }, { - "@id": "http://localhost:8000/users", + "@id": "http://localhost:8080/users", "@type": "Folder", "title": "Users", "UID": "80994493-74ca-4b94-9a7c-145a33a6dd80", @@ -125,7 +125,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:24:00.000Z" }, { - "@id": "http://localhost:8000/events", + "@id": "http://localhost:8080/events", "@type": "Folder", "title": "Events", "UID": "1a2123ba-14e8-4910-8e6b-c04a40d72a41", diff --git a/docs/examples/search/get_sort_reverse.res b/docs/examples/search/get_sort_reverse.res index 5ea6b8a..420bb0d 100644 --- a/docs/examples/search/get_sort_reverse.res +++ b/docs/examples/search/get_sort_reverse.res @@ -2,10 +2,10 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@search", + "@id": "http://localhost:8080/@search", "items": [ { - "@id": "http://localhost:8000/", + "@id": "http://localhost:8080/", "@type": "Site", "title": "Welcome to Nick!", "UID": "92a80817-f5b7-400d-8f58-b08126f0f09b", @@ -35,7 +35,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:00:00.000Z" }, { - "@id": "http://localhost:8000/users", + "@id": "http://localhost:8080/users", "@type": "Folder", "title": "Users", "UID": "80994493-74ca-4b94-9a7c-145a33a6dd80", @@ -65,7 +65,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:24:00.000Z" }, { - "@id": "http://localhost:8000/news", + "@id": "http://localhost:8080/news", "@type": "Folder", "title": "News", "UID": "32215c67-86de-462a-8cc0-eabcd2b39c26", @@ -95,7 +95,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:22:00.000Z" }, { - "@id": "http://localhost:8000/events", + "@id": "http://localhost:8080/events", "@type": "Folder", "title": "Events", "UID": "1a2123ba-14e8-4910-8e6b-c04a40d72a41", @@ -125,7 +125,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:30:00.000Z" }, { - "@id": "http://localhost:8000/events/event-1", + "@id": "http://localhost:8080/events/event-1", "@type": "Page", "title": "Event 1", "UID": "405ca717-0c68-43a0-88ac-629a82658675", diff --git a/docs/examples/search/get_sort_title.res b/docs/examples/search/get_sort_title.res index a8e7078..2ac17e6 100644 --- a/docs/examples/search/get_sort_title.res +++ b/docs/examples/search/get_sort_title.res @@ -2,10 +2,10 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@search", + "@id": "http://localhost:8080/@search", "items": [ { - "@id": "http://localhost:8000/events/event-1", + "@id": "http://localhost:8080/events/event-1", "@type": "Page", "title": "Event 1", "UID": "405ca717-0c68-43a0-88ac-629a82658675", @@ -35,7 +35,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:10:00.000Z" }, { - "@id": "http://localhost:8000/events", + "@id": "http://localhost:8080/events", "@type": "Folder", "title": "Events", "UID": "1a2123ba-14e8-4910-8e6b-c04a40d72a41", @@ -65,7 +65,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:30:00.000Z" }, { - "@id": "http://localhost:8000/news", + "@id": "http://localhost:8080/news", "@type": "Folder", "title": "News", "UID": "32215c67-86de-462a-8cc0-eabcd2b39c26", @@ -95,7 +95,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:22:00.000Z" }, { - "@id": "http://localhost:8000/users", + "@id": "http://localhost:8080/users", "@type": "Folder", "title": "Users", "UID": "80994493-74ca-4b94-9a7c-145a33a6dd80", @@ -125,7 +125,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:24:00.000Z" }, { - "@id": "http://localhost:8000/", + "@id": "http://localhost:8080/", "@type": "Site", "title": "Welcome to Nick!", "UID": "92a80817-f5b7-400d-8f58-b08126f0f09b", diff --git a/docs/examples/search/get_sort_unknown.res b/docs/examples/search/get_sort_unknown.res index fa9d154..4e2f60c 100644 --- a/docs/examples/search/get_sort_unknown.res +++ b/docs/examples/search/get_sort_unknown.res @@ -2,10 +2,10 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@search", + "@id": "http://localhost:8080/@search", "items": [ { - "@id": "http://localhost:8000/events", + "@id": "http://localhost:8080/events", "@type": "Folder", "title": "Events", "UID": "1a2123ba-14e8-4910-8e6b-c04a40d72a41", @@ -35,7 +35,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:30:00.000Z" }, { - "@id": "http://localhost:8000/news", + "@id": "http://localhost:8080/news", "@type": "Folder", "title": "News", "UID": "32215c67-86de-462a-8cc0-eabcd2b39c26", @@ -65,7 +65,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:22:00.000Z" }, { - "@id": "http://localhost:8000/events/event-1", + "@id": "http://localhost:8080/events/event-1", "@type": "Page", "title": "Event 1", "UID": "405ca717-0c68-43a0-88ac-629a82658675", @@ -95,7 +95,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:10:00.000Z" }, { - "@id": "http://localhost:8000/users", + "@id": "http://localhost:8080/users", "@type": "Folder", "title": "Users", "UID": "80994493-74ca-4b94-9a7c-145a33a6dd80", @@ -125,7 +125,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:24:00.000Z" }, { - "@id": "http://localhost:8000/", + "@id": "http://localhost:8080/", "@type": "Site", "title": "Welcome to Nick!", "UID": "92a80817-f5b7-400d-8f58-b08126f0f09b", diff --git a/docs/examples/search/get_unknown.res b/docs/examples/search/get_unknown.res index fa9d154..4e2f60c 100644 --- a/docs/examples/search/get_unknown.res +++ b/docs/examples/search/get_unknown.res @@ -2,10 +2,10 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@search", + "@id": "http://localhost:8080/@search", "items": [ { - "@id": "http://localhost:8000/events", + "@id": "http://localhost:8080/events", "@type": "Folder", "title": "Events", "UID": "1a2123ba-14e8-4910-8e6b-c04a40d72a41", @@ -35,7 +35,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:30:00.000Z" }, { - "@id": "http://localhost:8000/news", + "@id": "http://localhost:8080/news", "@type": "Folder", "title": "News", "UID": "32215c67-86de-462a-8cc0-eabcd2b39c26", @@ -65,7 +65,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:22:00.000Z" }, { - "@id": "http://localhost:8000/events/event-1", + "@id": "http://localhost:8080/events/event-1", "@type": "Page", "title": "Event 1", "UID": "405ca717-0c68-43a0-88ac-629a82658675", @@ -95,7 +95,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:10:00.000Z" }, { - "@id": "http://localhost:8000/users", + "@id": "http://localhost:8080/users", "@type": "Folder", "title": "Users", "UID": "80994493-74ca-4b94-9a7c-145a33a6dd80", @@ -125,7 +125,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:24:00.000Z" }, { - "@id": "http://localhost:8000/", + "@id": "http://localhost:8080/", "@type": "Site", "title": "Welcome to Nick!", "UID": "92a80817-f5b7-400d-8f58-b08126f0f09b", diff --git a/docs/examples/search/post.res b/docs/examples/search/post.res index fa9d154..4e2f60c 100644 --- a/docs/examples/search/post.res +++ b/docs/examples/search/post.res @@ -2,10 +2,10 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@search", + "@id": "http://localhost:8080/@search", "items": [ { - "@id": "http://localhost:8000/events", + "@id": "http://localhost:8080/events", "@type": "Folder", "title": "Events", "UID": "1a2123ba-14e8-4910-8e6b-c04a40d72a41", @@ -35,7 +35,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:30:00.000Z" }, { - "@id": "http://localhost:8000/news", + "@id": "http://localhost:8080/news", "@type": "Folder", "title": "News", "UID": "32215c67-86de-462a-8cc0-eabcd2b39c26", @@ -65,7 +65,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:22:00.000Z" }, { - "@id": "http://localhost:8000/events/event-1", + "@id": "http://localhost:8080/events/event-1", "@type": "Page", "title": "Event 1", "UID": "405ca717-0c68-43a0-88ac-629a82658675", @@ -95,7 +95,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:10:00.000Z" }, { - "@id": "http://localhost:8000/users", + "@id": "http://localhost:8080/users", "@type": "Folder", "title": "Users", "UID": "80994493-74ca-4b94-9a7c-145a33a6dd80", @@ -125,7 +125,7 @@ Content-Type: application/json "ModificationDate": "2022-04-02T20:24:00.000Z" }, { - "@id": "http://localhost:8000/", + "@id": "http://localhost:8080/", "@type": "Site", "title": "Welcome to Nick!", "UID": "92a80817-f5b7-400d-8f58-b08126f0f09b", diff --git a/docs/examples/site/get.res b/docs/examples/site/get.res index 02e292e..a7c89e3 100644 --- a/docs/examples/site/get.res +++ b/docs/examples/site/get.res @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@site", + "@id": "http://localhost:8080/@site", "robots_txt": "Sitemap: {portal_url}/sitemap.xml.gz\n\n# Define access-restrictions for robots/spiders\n# http://www.robotstxt.org/wc/norobots.html\n\n\n\n# By default we allow robots to access all areas of our site\n# already accessible to anonymous users\n\nUser-agent: *\nDisallow:\n\n\n\n# Add Googlebot-specific syntax extension to exclude forms\n# that are repeated for each piece of content in the site\n# the wildcard is only supported by Googlebot\n# http://www.google.com/support/webmasters/bin/answer.py?answer=40367&ctx=sibling\n\nUser-Agent: Googlebot\nDisallow: /*?\nDisallow: /*atct_album_view$\nDisallow: /*folder_factories$\nDisallow: /*folder_summary_view$\nDisallow: /*login_form$\nDisallow: /*mail_password_form$\nDisallow: /@@search\nDisallow: /*search_rss$\nDisallow: /*sendto_form$\nDisallow: /*summary_view$\nDisallow: /*thumbnail_view$\nDisallow: /*view$\n", "site_logo": null, "site_title": "Nick" diff --git a/docs/examples/system/get.res b/docs/examples/system/get.res index 82c80d4..85758d7 100644 --- a/docs/examples/system/get.res +++ b/docs/examples/system/get.res @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@system", + "@id": "http://localhost:8080/@system", "nick_version": "2.8.0", "node_version": "v16.15.0", "express_version": "4.21.1", diff --git a/docs/examples/translations/get.res b/docs/examples/translations/get.res index 482898c..75aaee0 100644 --- a/docs/examples/translations/get.res +++ b/docs/examples/translations/get.res @@ -2,15 +2,15 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/en/events/@translations", + "@id": "http://localhost:8080/en/events/@translations", "items": [ { - "@id": "http://localhost:8000/nl/evenementen", + "@id": "http://localhost:8080/nl/evenementen", "language": "nl" } ], "root": { - "en": "http://localhost:8000/en", - "nl": "http://localhost:8000/nl" + "en": "http://localhost:8080/en", + "nl": "http://localhost:8080/nl" } } \ No newline at end of file diff --git a/docs/examples/translations/get_expansion.res b/docs/examples/translations/get_expansion.res index 72dc950..19388c6 100644 --- a/docs/examples/translations/get_expansion.res +++ b/docs/examples/translations/get_expansion.res @@ -5,31 +5,31 @@ Content-Type: application/json "title": "Events", "@components": { "actions": { - "@id": "http://localhost:8000/en/events/@actions" + "@id": "http://localhost:8080/en/events/@actions" }, "breadcrumbs": { - "@id": "http://localhost:8000/en/events/@breadcrumbs" + "@id": "http://localhost:8080/en/events/@breadcrumbs" }, "catalog": { - "@id": "http://localhost:8000/en/events/@catalog" + "@id": "http://localhost:8080/en/events/@catalog" }, "navigation": { - "@id": "http://localhost:8000/en/events/@navigation" + "@id": "http://localhost:8080/en/events/@navigation" }, "navroot": { - "@id": "http://localhost:8000/en/events/@navroot" + "@id": "http://localhost:8080/en/events/@navroot" }, "translations": { - "@id": "http://localhost:8000/en/events/@translations" + "@id": "http://localhost:8080/en/events/@translations" }, "types": { - "@id": "http://localhost:8000/en/events/@types" + "@id": "http://localhost:8080/en/events/@types" }, "workflow": { - "@id": "http://localhost:8000/en/events/@workflow" + "@id": "http://localhost:8080/en/events/@workflow" } }, - "@id": "http://localhost:8000/en/events/my-news-item", + "@id": "http://localhost:8080/en/events/my-news-item", "@type": "Page", "id": "events", "created": "2022-04-08T16:00:00.000Z", diff --git a/docs/examples/translations/get_expansion_expanded.res b/docs/examples/translations/get_expansion_expanded.res index c38ed0b..abf0ece 100644 --- a/docs/examples/translations/get_expansion_expanded.res +++ b/docs/examples/translations/get_expansion_expanded.res @@ -5,41 +5,41 @@ Content-Type: application/json "title": "Events", "@components": { "actions": { - "@id": "http://localhost:8000/en/events/@actions" + "@id": "http://localhost:8080/en/events/@actions" }, "breadcrumbs": { - "@id": "http://localhost:8000/en/events/@breadcrumbs" + "@id": "http://localhost:8080/en/events/@breadcrumbs" }, "catalog": { - "@id": "http://localhost:8000/en/events/@catalog" + "@id": "http://localhost:8080/en/events/@catalog" }, "navigation": { - "@id": "http://localhost:8000/en/events/@navigation" + "@id": "http://localhost:8080/en/events/@navigation" }, "navroot": { - "@id": "http://localhost:8000/en/events/@navroot" + "@id": "http://localhost:8080/en/events/@navroot" }, "translations": { - "@id": "http://localhost:8000/en/events/@translations", + "@id": "http://localhost:8080/en/events/@translations", "items": [ { - "@id": "http://localhost:8000/nl/evenementen", + "@id": "http://localhost:8080/nl/evenementen", "language": "nl" } ], "root": { - "en": "http://localhost:8000/en", - "nl": "http://localhost:8000/nl" + "en": "http://localhost:8080/en", + "nl": "http://localhost:8080/nl" } }, "types": { - "@id": "http://localhost:8000/en/events/@types" + "@id": "http://localhost:8080/en/events/@types" }, "workflow": { - "@id": "http://localhost:8000/en/events/@workflow" + "@id": "http://localhost:8080/en/events/@workflow" } }, - "@id": "http://localhost:8000/en/events/my-news-item", + "@id": "http://localhost:8080/en/events/my-news-item", "@type": "Page", "id": "events", "created": "2022-04-08T16:00:00.000Z", diff --git a/docs/examples/translations/get_locator.res b/docs/examples/translations/get_locator.res index 343cce0..5de0033 100644 --- a/docs/examples/translations/get_locator.res +++ b/docs/examples/translations/get_locator.res @@ -2,5 +2,5 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/nl" + "@id": "http://localhost:8080/nl" } diff --git a/docs/examples/translations/post.res b/docs/examples/translations/post.res index 26fbc97..47d81db 100644 --- a/docs/examples/translations/post.res +++ b/docs/examples/translations/post.res @@ -5,31 +5,31 @@ Content-Type: application/json "title": "Evenementen", "@components": { "actions": { - "@id": "http://localhost:8000/nl/evenementen/@actions" + "@id": "http://localhost:8080/nl/evenementen/@actions" }, "breadcrumbs": { - "@id": "http://localhost:8000/nl/evenementen/@breadcrumbs" + "@id": "http://localhost:8080/nl/evenementen/@breadcrumbs" }, "catalog": { - "@id": "http://localhost:8000/nl/evenementen/@catalog" + "@id": "http://localhost:8080/nl/evenementen/@catalog" }, "navigation": { - "@id": "http://localhost:8000/nl/evenementen/@navigation" + "@id": "http://localhost:8080/nl/evenementen/@navigation" }, "navroot": { - "@id": "http://localhost:8000/nl/evenementen/@navroot" + "@id": "http://localhost:8080/nl/evenementen/@navroot" }, "translations": { - "@id": "http://localhost:8000/nl/evenementen/@translations" + "@id": "http://localhost:8080/nl/evenementen/@translations" }, "types": { - "@id": "http://localhost:8000/nl/evenementen/@types" + "@id": "http://localhost:8080/nl/evenementen/@types" }, "workflow": { - "@id": "http://localhost:8000/nl/evenementen/@workflow" + "@id": "http://localhost:8080/nl/evenementen/@workflow" } }, - "@id": "http://localhost:8000/nl/evenementen/my-news-item", + "@id": "http://localhost:8080/nl/evenementen/my-news-item", "@type": "Page", "id": "evenementen", "created": "2022-04-08T16:00:00.000Z", diff --git a/docs/examples/translations/post_url.req b/docs/examples/translations/post_url.req index 8e8ca13..fb228b0 100644 --- a/docs/examples/translations/post_url.req +++ b/docs/examples/translations/post_url.req @@ -4,5 +4,5 @@ Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJhZG1pbiIsI Content-Type: application/json { - "id": "http://localhost:8000/nl/evenementen" + "id": "http://localhost:8080/nl/evenementen" } diff --git a/docs/examples/types/list.res b/docs/examples/types/list.res index f1a9cb3..e5d8394 100644 --- a/docs/examples/types/list.res +++ b/docs/examples/types/list.res @@ -3,27 +3,27 @@ Content-Type: application/json [ { - "@id": "http://localhost:8000/@types/File", + "@id": "http://localhost:8080/@types/File", "addable": true, "title": "File" }, { - "@id": "http://localhost:8000/@types/Folder", + "@id": "http://localhost:8080/@types/Folder", "addable": true, "title": "Folder" }, { - "@id": "http://localhost:8000/@types/Image", + "@id": "http://localhost:8080/@types/Image", "addable": true, "title": "Image" }, { - "@id": "http://localhost:8000/@types/Page", + "@id": "http://localhost:8080/@types/Page", "addable": true, "title": "Page" }, { - "@id": "http://localhost:8000/@types/Site", + "@id": "http://localhost:8080/@types/Site", "addable": false, "title": "Site" } diff --git a/docs/examples/types/list_i18n.res b/docs/examples/types/list_i18n.res index 2ffe7d6..adb16e2 100644 --- a/docs/examples/types/list_i18n.res +++ b/docs/examples/types/list_i18n.res @@ -3,27 +3,27 @@ Content-Type: application/json [ { - "@id": "http://localhost:8000/@types/File", + "@id": "http://localhost:8080/@types/File", "addable": true, "title": "Bestand" }, { - "@id": "http://localhost:8000/@types/Folder", + "@id": "http://localhost:8080/@types/Folder", "addable": true, "title": "Map" }, { - "@id": "http://localhost:8000/@types/Image", + "@id": "http://localhost:8080/@types/Image", "addable": true, "title": "Afbeelding" }, { - "@id": "http://localhost:8000/@types/Page", + "@id": "http://localhost:8080/@types/Page", "addable": true, "title": "Pagina" }, { - "@id": "http://localhost:8000/@types/Site", + "@id": "http://localhost:8080/@types/Site", "addable": false, "title": "Site" } diff --git a/docs/examples/users/get.res b/docs/examples/users/get.res index e98828f..d7b14a5 100644 --- a/docs/examples/users/get.res +++ b/docs/examples/users/get.res @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@users/admin", + "@id": "http://localhost:8080/@users/admin", "id": "admin", "fullname": "Admin", "email": "admin@example.com", diff --git a/docs/examples/users/list.res b/docs/examples/users/list.res index 0adf707..67c0c11 100644 --- a/docs/examples/users/list.res +++ b/docs/examples/users/list.res @@ -3,7 +3,7 @@ Content-Type: application/json [ { - "@id": "http://localhost:8000/@users/admin", + "@id": "http://localhost:8080/@users/admin", "id": "admin", "fullname": "Admin", "email": "admin@example.com", @@ -13,7 +13,7 @@ Content-Type: application/json "groups": [] }, { - "@id": "http://localhost:8000/@users/anonymous", + "@id": "http://localhost:8080/@users/anonymous", "id": "anonymous", "fullname": "Anonymous", "email": "anonymous@example.com", diff --git a/docs/examples/users/list_query.res b/docs/examples/users/list_query.res index 4a47e02..19b93f4 100644 --- a/docs/examples/users/list_query.res +++ b/docs/examples/users/list_query.res @@ -3,7 +3,7 @@ Content-Type: application/json [ { - "@id": "http://localhost:8000/@users/admin", + "@id": "http://localhost:8080/@users/admin", "id": "admin", "fullname": "Admin", "email": "admin@example.com", diff --git a/docs/examples/users/post.res b/docs/examples/users/post.res index 63cab2b..22084ba 100644 --- a/docs/examples/users/post.res +++ b/docs/examples/users/post.res @@ -2,7 +2,7 @@ HTTP/1.1 201 Created Content-Type: application/json { - "@id": "http://localhost:8000/@users/headlessnick", + "@id": "http://localhost:8080/@users/headlessnick", "id": "headlessnick", "fullname": "Nearly Headless Nick", "email": "nearly.headless.nick@example.com", diff --git a/docs/examples/users/post_registration.res b/docs/examples/users/post_registration.res index 63cab2b..22084ba 100644 --- a/docs/examples/users/post_registration.res +++ b/docs/examples/users/post_registration.res @@ -2,7 +2,7 @@ HTTP/1.1 201 Created Content-Type: application/json { - "@id": "http://localhost:8000/@users/headlessnick", + "@id": "http://localhost:8080/@users/headlessnick", "id": "headlessnick", "fullname": "Nearly Headless Nick", "email": "nearly.headless.nick@example.com", diff --git a/docs/examples/vocabularies/get.res b/docs/examples/vocabularies/get.res index 00a6674..e37dfe9 100644 --- a/docs/examples/vocabularies/get.res +++ b/docs/examples/vocabularies/get.res @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@vocabularies/roles", + "@id": "http://localhost:8080/@vocabularies/roles", "items": [ { "title": "Administrator", diff --git a/docs/examples/vocabularies/get_actions.res b/docs/examples/vocabularies/get_actions.res index 7625b29..c9beb65 100644 --- a/docs/examples/vocabularies/get_actions.res +++ b/docs/examples/vocabularies/get_actions.res @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@vocabularies/actions", + "@id": "http://localhost:8080/@vocabularies/actions", "items": [ { "title": "View", diff --git a/docs/examples/vocabularies/get_behaviors.res b/docs/examples/vocabularies/get_behaviors.res index a179bc3..cdd17eb 100644 --- a/docs/examples/vocabularies/get_behaviors.res +++ b/docs/examples/vocabularies/get_behaviors.res @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@vocabularies/behaviors", + "@id": "http://localhost:8080/@vocabularies/behaviors", "items": [ { "title": "Basic metadata", diff --git a/docs/examples/vocabularies/get_boolean.res b/docs/examples/vocabularies/get_boolean.res index dd29d42..02b5d02 100644 --- a/docs/examples/vocabularies/get_boolean.res +++ b/docs/examples/vocabularies/get_boolean.res @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@vocabularies/boolean", + "@id": "http://localhost:8080/@vocabularies/boolean", "items": [ { "title": "Yes", diff --git a/docs/examples/vocabularies/get_groups.res b/docs/examples/vocabularies/get_groups.res index 2a554ad..64a3168 100644 --- a/docs/examples/vocabularies/get_groups.res +++ b/docs/examples/vocabularies/get_groups.res @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@vocabularies/groups", + "@id": "http://localhost:8080/@vocabularies/groups", "items": [ { "title": "Administrators", diff --git a/docs/examples/vocabularies/get_image_scales.res b/docs/examples/vocabularies/get_image_scales.res index bc9182b..ccde2d8 100644 --- a/docs/examples/vocabularies/get_image_scales.res +++ b/docs/examples/vocabularies/get_image_scales.res @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@vocabularies/imageScales", + "@id": "http://localhost:8080/@vocabularies/imageScales", "items": [ { "title": "large", diff --git a/docs/examples/vocabularies/get_permissions.res b/docs/examples/vocabularies/get_permissions.res index 4696e1e..5f0e722 100644 --- a/docs/examples/vocabularies/get_permissions.res +++ b/docs/examples/vocabularies/get_permissions.res @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@vocabularies/permissions", + "@id": "http://localhost:8080/@vocabularies/permissions", "items": [ { "title": "Add", diff --git a/docs/examples/vocabularies/get_subjects.res b/docs/examples/vocabularies/get_subjects.res index 5689ad6..6fbda68 100644 --- a/docs/examples/vocabularies/get_subjects.res +++ b/docs/examples/vocabularies/get_subjects.res @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@vocabularies/subjects", + "@id": "http://localhost:8080/@vocabularies/subjects", "items": [ { "title": "event", diff --git a/docs/examples/vocabularies/get_supported_languages.res b/docs/examples/vocabularies/get_supported_languages.res index c457d93..f54fa55 100644 --- a/docs/examples/vocabularies/get_supported_languages.res +++ b/docs/examples/vocabularies/get_supported_languages.res @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@vocabularies/supportedLanguages", + "@id": "http://localhost:8080/@vocabularies/supportedLanguages", "items": [ { "title": "Afrikaans", diff --git a/docs/examples/vocabularies/get_system_groups.res b/docs/examples/vocabularies/get_system_groups.res index ce58c45..adf359c 100644 --- a/docs/examples/vocabularies/get_system_groups.res +++ b/docs/examples/vocabularies/get_system_groups.res @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@vocabularies/systemGroups", + "@id": "http://localhost:8080/@vocabularies/systemGroups", "items": [ { "title": "Owner", diff --git a/docs/examples/vocabularies/get_system_users.res b/docs/examples/vocabularies/get_system_users.res index 5b4c11c..ad1d34b 100644 --- a/docs/examples/vocabularies/get_system_users.res +++ b/docs/examples/vocabularies/get_system_users.res @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@vocabularies/systemUsers", + "@id": "http://localhost:8080/@vocabularies/systemUsers", "items": [ { "title": "admin", diff --git a/docs/examples/vocabularies/get_types.res b/docs/examples/vocabularies/get_types.res index 8834b30..961eb24 100644 --- a/docs/examples/vocabularies/get_types.res +++ b/docs/examples/vocabularies/get_types.res @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@vocabularies/types", + "@id": "http://localhost:8080/@vocabularies/types", "items": [ { "title": "File", diff --git a/docs/examples/vocabularies/get_users.res b/docs/examples/vocabularies/get_users.res index d5ce2af..52fa7e5 100644 --- a/docs/examples/vocabularies/get_users.res +++ b/docs/examples/vocabularies/get_users.res @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@vocabularies/users", + "@id": "http://localhost:8080/@vocabularies/users", "items": [ { "title": "Admin", diff --git a/docs/examples/vocabularies/get_workflow_states.res b/docs/examples/vocabularies/get_workflow_states.res index fc66d18..5f02e8a 100644 --- a/docs/examples/vocabularies/get_workflow_states.res +++ b/docs/examples/vocabularies/get_workflow_states.res @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@vocabularies/workflowStates", + "@id": "http://localhost:8080/@vocabularies/workflowStates", "items": [ { "title": "Pending review", diff --git a/docs/examples/vocabularies/get_workflows.res b/docs/examples/vocabularies/get_workflows.res index 21582f5..f1e4a47 100644 --- a/docs/examples/vocabularies/get_workflows.res +++ b/docs/examples/vocabularies/get_workflows.res @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/@vocabularies/workflows", + "@id": "http://localhost:8080/@vocabularies/workflows", "items": [ { "title": "Simple Publication Workflow", diff --git a/docs/examples/vocabularies/list.res b/docs/examples/vocabularies/list.res index 98f7ed0..f461078 100644 --- a/docs/examples/vocabularies/list.res +++ b/docs/examples/vocabularies/list.res @@ -3,67 +3,67 @@ Content-Type: application/json [ { - "@id": "http://localhost:8000/@vocabularies/actions", + "@id": "http://localhost:8080/@vocabularies/actions", "title": "actions" }, { - "@id": "http://localhost:8000/@vocabularies/availableLanguages", + "@id": "http://localhost:8080/@vocabularies/availableLanguages", "title": "availableLanguages" }, { - "@id": "http://localhost:8000/@vocabularies/behaviors", + "@id": "http://localhost:8080/@vocabularies/behaviors", "title": "behaviors" }, { - "@id": "http://localhost:8000/@vocabularies/boolean", + "@id": "http://localhost:8080/@vocabularies/boolean", "title": "boolean" }, { - "@id": "http://localhost:8000/@vocabularies/groups", + "@id": "http://localhost:8080/@vocabularies/groups", "title": "groups" }, { - "@id": "http://localhost:8000/@vocabularies/imageScales", + "@id": "http://localhost:8080/@vocabularies/imageScales", "title": "imageScales" }, { - "@id": "http://localhost:8000/@vocabularies/permissions", + "@id": "http://localhost:8080/@vocabularies/permissions", "title": "permissions" }, { - "@id": "http://localhost:8000/@vocabularies/roles", + "@id": "http://localhost:8080/@vocabularies/roles", "title": "roles" }, { - "@id": "http://localhost:8000/@vocabularies/subjects", + "@id": "http://localhost:8080/@vocabularies/subjects", "title": "subjects" }, { - "@id": "http://localhost:8000/@vocabularies/supportedLanguages", + "@id": "http://localhost:8080/@vocabularies/supportedLanguages", "title": "supportedLanguages" }, { - "@id": "http://localhost:8000/@vocabularies/systemGroups", + "@id": "http://localhost:8080/@vocabularies/systemGroups", "title": "systemGroups" }, { - "@id": "http://localhost:8000/@vocabularies/systemUsers", + "@id": "http://localhost:8080/@vocabularies/systemUsers", "title": "systemUsers" }, { - "@id": "http://localhost:8000/@vocabularies/types", + "@id": "http://localhost:8080/@vocabularies/types", "title": "types" }, { - "@id": "http://localhost:8000/@vocabularies/users", + "@id": "http://localhost:8080/@vocabularies/users", "title": "users" }, { - "@id": "http://localhost:8000/@vocabularies/workflowStates", + "@id": "http://localhost:8080/@vocabularies/workflowStates", "title": "workflowStates" }, { - "@id": "http://localhost:8000/@vocabularies/workflows", + "@id": "http://localhost:8080/@vocabularies/workflows", "title": "workflows" } ] diff --git a/docs/examples/workflow/get.res b/docs/examples/workflow/get.res index d8c16d3..29521e8 100644 --- a/docs/examples/workflow/get.res +++ b/docs/examples/workflow/get.res @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Content-Type: application/json { - "@id": "http://localhost:8000/news/@workflow", + "@id": "http://localhost:8080/news/@workflow", "history": [], "state": { "id": "published", @@ -10,11 +10,11 @@ Content-Type: application/json }, "transitions": [ { - "@id": "http://localhost:8000/news/@workflow/reject", + "@id": "http://localhost:8080/news/@workflow/reject", "title": "Send back" }, { - "@id": "http://localhost:8000/news/@workflow/retract", + "@id": "http://localhost:8080/news/@workflow/retract", "title": "Retract" } ] diff --git a/frontend/src/config.js.sample b/frontend/src/config.js.sample index dcbdb9d..bd831ea 100644 --- a/frontend/src/config.js.sample +++ b/frontend/src/config.js.sample @@ -17,7 +17,5 @@ import '@plone/volto/config'; export default function applyConfig(config) { - config.settings.devProxyToApiPath = 'http://localhost:8000'; - config.settings.proxyRewriteTarget = new String(''); return config; } diff --git a/jest.setup.js b/jest.setup.js index c6b9182..11037e1 100644 --- a/jest.setup.js +++ b/jest.setup.js @@ -13,7 +13,7 @@ jest .spyOn(url, 'getUrl') .mockImplementation( (req) => - `http://localhost:8000${ + `http://localhost:8080${ req.document.path === '/' ? '' : req.document.path }`, ); @@ -21,7 +21,7 @@ jest // Mock get root url jest .spyOn(url, 'getRootUrl') - .mockImplementation((req) => 'http://localhost:8000'); + .mockImplementation((req) => 'http://localhost:8080'); // Mock JWT sign jest diff --git a/packages/generator-nick/generators/app/templates/config.js.tpl b/packages/generator-nick/generators/app/templates/config.js.tpl index 794371e..2a6c049 100644 --- a/packages/generator-nick/generators/app/templates/config.js.tpl +++ b/packages/generator-nick/generators/app/templates/config.js.tpl @@ -7,7 +7,7 @@ export const config = { password: '<%= projectName %>', }, blobsDir: `${__dirname}/var/blobstorage`, - port: 8000, + port: 8080, secret: 'secret', clientMaxSize: '64mb', systemUsers: ['admin', 'anonymous'], diff --git a/site/index.html b/site/index.html index 42eb889..919b77a 100644 --- a/site/index.html +++ b/site/index.html @@ -483,8 +483,8 @@


The rest api is now available at - http://localhost:8000http://localhost:8080. If you want to run the Volto fronted follow the instructions in the README.md file in the frontend folder.

diff --git a/src/app.js b/src/app.js index 54b394d..66295d6 100644 --- a/src/app.js +++ b/src/app.js @@ -18,7 +18,7 @@ import { } from './helpers'; import { Document, Model, Redirect, Role, Type, User } from './models'; import routes from './routes'; -import { accessLogger, cors, i18n } from './middleware'; +import { accessLogger, cors, i18n, removeZopeVhosting } from './middleware'; import { applyBehaviors } from './behaviors'; const { config } = require(`${process.cwd()}/config`); @@ -33,6 +33,7 @@ const app = express(); // Add middleware app.use(bodyParser.json({ limit: config.clientMaxSize })); +app.use(removeZopeVhosting); app.use(accessLogger); app.use(i18n); app.use(cors); diff --git a/src/helpers/url/url.test.js b/src/helpers/url/url.test.js index 536dbd9..de4e998 100644 --- a/src/helpers/url/url.test.js +++ b/src/helpers/url/url.test.js @@ -5,25 +5,25 @@ describe('Url', () => { expect( getUrl({ protocol: 'http', - headers: { host: 'localhost:8000' }, + headers: { host: 'localhost:8080' }, document: { path: '/news' }, }), - ).toBe('http://localhost:8000/news')); + ).toBe('http://localhost:8080/news')); it('should get the url of the root', () => expect( getUrl({ protocol: 'http', - headers: { host: 'localhost:8000' }, + headers: { host: 'localhost:8080' }, document: { path: '/' }, }), - ).toBe('http://localhost:8000')); + ).toBe('http://localhost:8080')); it('should get the root url', () => expect( getRootUrl({ protocol: 'http', - headers: { host: 'localhost:8000' }, + headers: { host: 'localhost:8080' }, }), - ).toBe('http://localhost:8000')); + ).toBe('http://localhost:8080')); }); diff --git a/src/middleware/index.js b/src/middleware/index.js index fe91776..1665988 100644 --- a/src/middleware/index.js +++ b/src/middleware/index.js @@ -7,3 +7,4 @@ export { accessLogger } from './access-logger/access-logger'; export { cors } from './cors/cors'; export { i18n } from './i18n/i18n'; +export { removeZopeVhosting } from './volto/volto'; diff --git a/src/middleware/volto/volto.js b/src/middleware/volto/volto.js new file mode 100644 index 0000000..e6b1649 --- /dev/null +++ b/src/middleware/volto/volto.js @@ -0,0 +1,10 @@ +/** + * Middleware to work better with Volto. + * @module volto + */ + +// Export middleware +export function removeZopeVhosting(req, res, next) { + req.url = req.url.replace(/\/VirtualHostBase.*\/VirtualHostRoot/, ''); + next(); +} From 770f4dbc1cd68b9b30a17924c8af209df3864e64 Mon Sep 17 00:00:00 2001 From: David Glick Date: Sun, 1 Dec 2024 18:00:47 -0300 Subject: [PATCH 2/2] changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 32006a6..4adadd4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -66,6 +66,7 @@ - Fix keywords endpoint @robgietema - Fix supported languages endpoint @robgietema - Fix site logo @robgietema +- Make it compatible with Volto without special settings @davisagli ### Internal