New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable CORS for platform ? #432
Comments
We provide a JAR that contains a webfragment with CORS enabled, see here: https://artifacts.alfresco.com/nexus/#nexus-search;quick~enablecors I haven't tested it out, but you should be able to add the module in as a dependency and it should work, i.e
Let me know if this works or not |
Hi, Just need to add the following dependencies :
And it works. |
How can I enable cors filter in SDK? |
Hi, I found that we need to include both the enablecors and the cors-filter dependencies in the SDK generated project the enablecors should just have a transitive dependency on cors-filter. |
The Alfresco repository ships with cors-filter-2.5.jar so the enablecors dependency is purely for configuring the existing classes. You would need the cors-filter dependency if the cors-filter-2.5.jar isn't already in the the WEB-INF/lib. |
Hi,
Is there any way to enable CORS for Alfresco from the SDK ? Platform jar or All In One ?
It would be usefull to work on Alfresco module and UI using the ADF.
The text was updated successfully, but these errors were encountered: