chore: replace my site url for verification#314
Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughThis pull request updates URL references and documentation text from a "my" subdomain/endpoint to a "www" subdomain/endpoint. Changes span configuration constants, contribution documentation, and user-facing messages, reflecting a consistent migration to new hostnames and ports across three environments (production, development, staging). Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
1796f9f to
9e421c6
Compare
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Fix all issues with AI agents
In @src/utils/sendProfileServiceBlockedMessage.ts:
- Line 14: Replace the hardcoded "https://www.realdevsquad.com" with the
environment-aware VERIFICATION_SITE_URL from the config; import config from
"../../config/config" at the top of sendProfileServiceBlockedMessage.ts and
update the template string (the ternary branch that currently builds the message
containing [MAIN SITE](https://www.realdevsquad.com/identity)) to use
`${config.VERIFICATION_SITE_URL}/identity` so the link respects staging/dev/prod
environments.
📜 Review details
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro
📒 Files selected for processing (3)
CONTRIBUTING.mdsrc/constants/urls.tssrc/utils/sendProfileServiceBlockedMessage.ts
🧰 Additional context used
🪛 markdownlint-cli2 (0.18.1)
CONTRIBUTING.md
137-137: Reversed link syntax
(website-www)[https://github.com/Real-Dev-Squad/website-www]
(MD011, no-reversed-links)
🔇 Additional comments (1)
src/constants/urls.ts (1)
9-12: URL constants are properly integrated across all environments.The verification site URL constants are correctly mapped through the config system to their respective environments:
- Production uses
VERIFICATION_SITE_URL- Staging uses
STAGING_VERIFICATION_SITE_URL- Development uses
DEVELOPMENT_VERIFICATION_SITE_URL(port 4200)All usages in
src/controllers/verifyCommand.tsand tests access these constants throughconfig(env), ensuring environment-specific URLs are applied correctly. No compatibility issues found.
Date: 08-01-26
Developer Name: @MayankBansal12
Issue Ticket Number
Description
Documentation Updated?
Under Feature Flag
Database Changes
Breaking Changes
Development Tested?
Screenshots
proof
for local development, localhost:4200 is being used