ballyalley-o / tccp-server

A scalable backend server solution designed to manage and orchestrate software development bootcamps/courses from multiple schools, providing robust APIs and data storage capabilities.
2 stars 0 forks source link

[Fixed] CORS error and refactor server configuration #45

Closed ballyalley-o closed 3 months ago

ballyalley-o commented 3 months ago

This pull request fixes the CORS error that was occurring when trying to fetch data from the server. It also refactors the server configuration to improve performance and code readability. The changes include adding CORS configuration middleware, moving the header to middleware, and removing unused imports. This pull request addresses issue #40 and issue #43.