From 143a9abb23a2270d4cc56345b4b912d72efd5096 Mon Sep 17 00:00:00 2001 From: Victor Fernandez de Alba Date: Sun, 1 Dec 2024 13:41:05 -0300 Subject: [PATCH] Add missing config sample file --- frontend/src/config.sample.js | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 frontend/src/config.sample.js diff --git a/frontend/src/config.sample.js b/frontend/src/config.sample.js new file mode 100644 index 0000000..dcbdb9d --- /dev/null +++ b/frontend/src/config.sample.js @@ -0,0 +1,23 @@ +/** + * Add your config changes here. + * @module config + * @example + * export default function applyConfig(config) { + * config.settings = { + * ...config.settings, + * port: 4300, + * listBlockTypes: { + * ...config.settings.listBlockTypes, + * 'my-list-item', + * } + * } + */ + +// All your imports required for the config here BEFORE this line +import '@plone/volto/config'; + +export default function applyConfig(config) { + config.settings.devProxyToApiPath = 'http://localhost:8000'; + config.settings.proxyRewriteTarget = new String(''); + return config; +}