All Functions not working when hosted on a server
- Dominant language
- JavaScript
- Stars
- 1.6k
- Forks
- 78
- PR merge metrics
- No merged PRs in 30d
Description
## What you did:
Hi, i am hosting this on a CentOS server, this allows me and a friend to use it. I can access it but i am unable to save any changes on the console.
## What happened:
When i try to save the changes to the path, i see it tries to save too localhost.
-> PUT http://localhost:4000/route where it should be saving to our server which in this case is something else.
## Problem description:
I can access it, but looks like configurations are pointing to local host instead of the host where it is deployed on.
## Suggested solution:
Could you please commit an update that has a fix for this ? thanks so much!
Contributor guide
Research direction
Start by tracing the PUT http://localhost:4000/route request and checking how the deployed host is configured. Confirm whether the client uses a hard-coded localhost endpoint or an unset deployment value. Done means saving changes sends the request to the server host rather than localhost and succeeds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100