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

Implement CORS support #1035

Open
teosarca opened this Issue Sep 4, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@teosarca
Copy link
Member

teosarca commented Sep 4, 2018

Is this a bug or feature request?

What is the current behavior?

Which are the steps to reproduce?

What is the expected or desired behavior?

Configuration

By default the CORS are enabled. To disable it, change the webui.frontend.cors.enabled to N.
i.e.

update AD_SysCOnfig set Value='N' where name='webui.frontend.cors.enabled'

When CORS is enabled the accepted URL is the one from webui.frontend.url sysconfig.
If the webui.frontend.url is not set, CORS will be disabled but a WARN will be logged in console each time somebody is accessing a page.

@teosarca teosarca self-assigned this Sep 4, 2018

teosarca added a commit to metasfresh/metasfresh that referenced this issue Sep 4, 2018

teosarca added a commit to metasfresh/metasfresh that referenced this issue Sep 4, 2018

teosarca added a commit that referenced this issue Sep 4, 2018

metas-ts added a commit to metasfresh/metasfresh that referenced this issue Sep 10, 2018

Update ReleaseNotes.md
[#1040](metasfresh/metasfresh-webui-api#1040) Some views are failing because #AD_User_ID was not found in context
[#4411](#4411) New Dunning trigger for flatrate terms
[#4561](#4561) QueryStatisticsLogger shall use logger instead of stderr
[#1037](metasfresh/metasfresh-webui-api#1037) Advanced tooltip support
[#4560](#4560) msv3 related fixes
[#4554](#4554) process to create dunning-PDF with concatenated invoice-PDFs
[#1035](metasfresh/metasfresh-webui-api#1035) Implement CORS support
[#4516](#4516) New Action "Copy Window"
[#4552](#4552) AD_User is wrong in shipment schedule when using isDropShip
[#1932](metasfresh/metasfresh-webui-frontend#1932) Mandatory Field not filled Error too early
[#4528](#4528) Can not add new scale price on 5.71
[#4524](#4524) Implement inbound E-Mail support
[#4541](#4541) Return also URL using function de_metas_endcustomer_fresh_reports.Docs_Generics_Org_Report
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment