@zengenti/contensis-react-base 3.2.1 → 3.2.2-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -654,7 +654,7 @@ const reverseProxies = (app, reverseProxyPaths = []) => {
|
|
|
654
654
|
|
|
655
655
|
const deliveryApiProxy = (apiProxy, app) => {
|
|
656
656
|
// This is just here to stop cors requests on localhost. In Production this is mapped using varnish.
|
|
657
|
-
app.all(['/api/delivery/*', '/api/image/*'], (req, res) => {
|
|
657
|
+
app.all(['/api/delivery/*', '/api/forms/*', '/api/image/*'], (req, res) => {
|
|
658
658
|
/* eslint-disable no-console */
|
|
659
659
|
console.log(`Proxying api request to ${servers$1.alias}`);
|
|
660
660
|
apiProxy.web(req, res, {
|