safak / youtube

5.04k stars 5.47k forks source link

Jwt project updated #149

Open FabricioMoreno opened 1 year ago

FabricioMoreno commented 1 year ago

Hello! I hope you're having a good day. I would like to propose this pull request for you to review the changes I've made. I've fixed some bugs that I found in the code and added some enhancements that I believe may be useful. Here are the details of the changes I've made:

I updated some outdated packages, which should help improve the project's stability and security.

I added a base URL in Axios, since all routing in the api directory starts with /api. This should simplify the Axios configuration and make the code easier to maintain.

I changed the import of app.css to App.css. This should help maintain consistency in the project and avoid confusion.

I added the proxy property in package.json to http://localhost:5000/. This should help properly configure the server for HTTP requests and avoid CORS problems.

I also installed the cors package to fix CORS issues on the server. Adding this package should allow HTTP requests to be made correctly and avoid CORS errors in the future.

I hope you find these changes useful and are happy to merge them into the project. If you have any questions or additional comments, please let me know. Thank you again!