@zengenti/contensis-react-base 3.2.2-beta.0 → 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.
|
@@ -671,7 +671,7 @@ const reverseProxies = (app, reverseProxyPaths = []) => {
|
|
|
671
671
|
|
|
672
672
|
const deliveryApiProxy = (apiProxy, app) => {
|
|
673
673
|
// This is just here to stop cors requests on localhost. In Production this is mapped using varnish.
|
|
674
|
-
app.all(['/api/delivery/*', '/api/image/*'], (req, res) => {
|
|
674
|
+
app.all(['/api/delivery/*', '/api/forms/*', '/api/image/*'], (req, res) => {
|
|
675
675
|
/* eslint-disable no-console */
|
|
676
676
|
console.log(`Proxying api request to ${servers$1.alias}`);
|
|
677
677
|
apiProxy.web(req, res, {
|