Skip to content

Conversation

@bajtos
Copy link
Member

@bajtos bajtos commented May 17, 2018

Clean up the RestServer implementation by moving CORS out of _handleHttpRequest() and mounting it as a regular Express middleware instead.

This is a follow-up for #1326 as part of #1038.

Checklist

  • npm test passes on your machine
  • New tests added or existing tests modified to cover all changes
  • Code conforms with the style guide
  • API Documentation in code was updated
  • Documentation in /docs/site was updated
  • Affected artifact templates in packages/cli were updated
  • Affected example projects in examples/* were updated

@bajtos bajtos added the REST Issues related to @loopback/rest package and REST transport in general label May 17, 2018
@bajtos bajtos added this to the May Milestone milestone May 17, 2018
@bajtos bajtos self-assigned this May 17, 2018
@bajtos bajtos requested a review from raymondfeng May 17, 2018 09:03
@dhmlau dhmlau mentioned this pull request May 17, 2018
23 tasks
Clean up the RestServer implementation by moving CORS out of
_handleHttpRequest() and mounting it as a regular Express middleware
instead.
@bajtos bajtos merged commit 0411811 into master May 18, 2018
@bajtos bajtos deleted the refactor/cors branch May 18, 2018 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

REST Issues related to @loopback/rest package and REST transport in general

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants