Skip to content
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

Refactor: Move CORS to middleware folder #99

Open
5 tasks
BeauBouchard opened this issue May 23, 2023 · 0 comments
Open
5 tasks

Refactor: Move CORS to middleware folder #99

BeauBouchard opened this issue May 23, 2023 · 0 comments
Assignees
Labels

Comments

@BeauBouchard
Copy link
Member

Description

Move the CORS middleware from the app.js main file and make an expandable folder that it resides in as cors.js.

Tasks

  • new file middleware/cors.js
  • new file middleware/index.js
  • refactor app.js to load previous cors middleware from new file
  • clean up
  • tests
@BeauBouchard BeauBouchard self-assigned this Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant