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; +}