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

Fix Path Overwrite Issue and Enable CORS for Frontend Access #8

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Anastasia520
Copy link

Description of Changes:

  1. Fixed File Paths to Prevent Overwriting:
    • Corrected file paths that were previously causing the Java application to be overwritten. This issue led to an Internal Server Error when the app got a validate request.

image

  1. Enabled CORS for Frontend Access:
    • Added CORS headers allowing access from any origin (*). This fix resolves issues where the frontend was unable to communicate with the backend server due to CORS restrictions. The server now properly handles requests from different origins, ensuring smooth interaction between frontend and backend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant