CORS Policy in Vanjaro #916
-
Is the CORS Policy different than that of a standard DNN install? I'm trying to drop a Constant Contact Sign Up form on a Vanjaro site using the Custom Code block. I'm I'm getting an error about the CORS Policy Access to XMLHttpRequest at '[RESOURCE_ON_CONSTANT_CONTACT_DOMAIN]' from origin '[MY_VANJARO_SITE]' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. I put the same code on a plain DNN site and it worked as expected, so I'm wondering if something may be different in relations to CORS Policy? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
No. There are no changes. Take a look at the web.config. Are you comparing the same version of DNN? It's possible that DNN changed the default web.config in the latest version. |
Beta Was this translation helpful? Give feedback.
No. There are no changes. Take a look at the web.config. Are you comparing the same version of DNN? It's possible that DNN changed the default web.config in the latest version.