monkeytype
monkeytype copied to clipboard
Login page tries to call localhost API in production
Did you clear cache before opening an issue?
- [x] I have cleared my cache
Is there an existing issue for this?
- [x] I have searched the existing open and closed issues
Does the issue happen when logged in?
Yes
Does the issue happen when logged out?
Yes
Does the issue happen in incognito mode when logged in?
Yes
Does the issue happen in incognito mode when logged out?
Yes
Account name
Akashkunwar
Account config
No response
Current Behavior
On the production site https://monkeytype.com/login, API requests are being made to a localhost endpoint, which causes user data to fail loading.
Steps to reproduce
Open https://monkeytype.com/login in a browser.
Open DevTools → Network tab.
Wait for the page to load.
Observe requests going to http://localhost:5005/psas (or similar localhost URL).
Expected Behavior
All network requests on the production site should target production services, not localhost.
Steps To Reproduce
Just try to login
Environment
- OS: Linud (PopOS)
- Browser: Microsoft Edge
- Browser Version: Version 142.0.3595.94 (Official build) (64-bit)
Anything else?
No response
Fixed, whoops.