feat: update agents to secure connection (http to https and 127.0.0.1 to localhost - #24
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR standardizes local endpoints to use HTTPS with localhost instead of HTTP with 127.0.0.1 and introduces a temporary feature flag to control the WithdrawAgentsFunds component in the BabyDegen UI.
- Updated
LOCALconstants across libraries and apps tohttps://localhost:8716 - Added
IS_WITHDRAWAL_ENABLEDflag and conditional rendering for withdrawals inApp.tsx - Updated the BabyDegen UI README to reflect HTTPS dev server URL
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| libs/util-constants-and-types/src/lib/constants/local.ts | Switched local constant to https://localhost:8716 |
| apps/predict-ui/src/constants/urls.ts | Updated LOCAL URL to HTTPS and localhost |
| apps/babydegen-ui/src/constants/urls.ts | Updated LOCAL URL to HTTPS and localhost |
| apps/babydegen-ui/src/App.tsx | Added IS_WITHDRAWAL_ENABLED flag, conditional rendering, and a TODO |
| apps/babydegen-ui/README.md | Changed dev server URL to https://localhost:4200 in README |
Comments suppressed due to low confidence (2)
apps/babydegen-ui/README.md:10
- Document any additional setup required for HTTPS in development (e.g., trusting a self-signed certificate or configuring the dev server for HTTPS).
- The app will be available at `https://localhost:4200`
apps/predict-ui/src/constants/urls.ts:1
- The
LOCALconstant is duplicated across multiple projects; consider centralizing it in a shared constants library to avoid inconsistencies.
export const LOCAL = 'https://localhost:8716';
mohandast52
marked this pull request as ready for review
July 14, 2025 08:18
mohandast52
commented
Jul 14, 2025
rajat2502
approved these changes
Jul 14, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
Types of changes
What types of changes does your code introduce?
Put an
xin the boxes that apply