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

Bug: Hardcoded backend URL in the application #117

Closed
ygowthamr opened this issue Oct 14, 2024 · 0 comments · Fixed by #130
Closed

Bug: Hardcoded backend URL in the application #117

ygowthamr opened this issue Oct 14, 2024 · 0 comments · Fixed by #130
Assignees
Labels
gssoc-ext This issue is under GSSoc Ext program hacktoberfest This issue belongs to hacktoberfest level3 labe3 label for gssoc

Comments

@ygowthamr
Copy link
Contributor

Bug: Hardcoded backend URL in the application

Description

The application currently has the backend URL hardcoded as localhost:3000 in multiple locations. This design limits flexibility and requires manual changes in every instance if the backend URL needs to be updated. A centralized configuration file should be implemented to store the backend URL, allowing for easier management and updates.

Steps to Reproduce

  1. Open the application codebase.
  2. Search for instances of localhost:3000.
  3. Note that the URL is repeated in multiple files, making updates cumbersome.

Expected Behavior

The application should reference a single configuration file containing the backend URL. If the URL needs to be changed, it can be updated in one place, and the change should reflect throughout the application.

Actual Behavior

The backend URL is hardcoded as localhost:3000 in multiple places, requiring manual changes in every instance when updates are necessary.

Additional Information

image

@Harshdev098 Give me labels like level3,gssoc extended and hacktoberfest.

@Harshdev098 Harshdev098 added hacktoberfest This issue belongs to hacktoberfest gssoc-ext This issue is under GSSoc Ext program level3 labe3 label for gssoc labels Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gssoc-ext This issue is under GSSoc Ext program hacktoberfest This issue belongs to hacktoberfest level3 labe3 label for gssoc
Projects
None yet
2 participants