Skip to content

ENG-8885: Update hosting links#1773

Merged
Kastier1 merged 3 commits intomainfrom
carlos/update-hosting-links
Mar 13, 2026
Merged

ENG-8885: Update hosting links#1773
Kastier1 merged 3 commits intomainfrom
carlos/update-hosting-links

Conversation

@carlosabadia
Copy link
Collaborator

No description provided.

@linear
Copy link

linear bot commented Mar 11, 2026

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Mar 11, 2026

Greptile Summary

This PR updates hosting-related links across three documentation files to use a centralized REFLEX_CLOUD_URL constant (now defaulting to https://build.reflex.dev/) instead of previously hardcoded https://cloud.reflex.dev/ URLs, reflecting the migration to the new build domain.

  • pcweb/constants.py: REFLEX_CLOUD_URL default changed from https://cloud.reflex.dev/ to https://build.reflex.dev/, which is now identical to REFLEX_BUILD_URL's default — raising a potential redundancy concern
  • docs/hosting/regions.md: Flag image src URLs updated to use REFLEX_CLOUD_URL constant; correctness depends on the new domain serving these static SVG assets
  • docs/hosting/config_file.md and docs/hosting/databricks.md: Hardcoded cloud dashboard URLs replaced with the constants.REFLEX_CLOUD_URL constant — clean, low-risk changes

Confidence Score: 3/5

  • Mostly safe, but the flag image URL change in regions.md could silently break the UI if build.reflex.dev does not serve those static assets.
  • The documentation link changes are straightforward and correct. The main risk is the flag SVG assets at the new domain — if they aren't served there, all country flags in the regions table will be broken with no obvious error. Additionally, REFLEX_CLOUD_URL and REFLEX_BUILD_URL now share the same default, which is technically redundant.
  • docs/hosting/regions.md and pcweb/constants.py need closer attention.

Important Files Changed

Filename Overview
pcweb/constants.py Default value of REFLEX_CLOUD_URL updated from https://cloud.reflex.dev/ to https://build.reflex.dev/, making it identical to REFLEX_BUILD_URL's default, creating redundancy.
docs/hosting/regions.md Flag image URLs updated to use REFLEX_CLOUD_URL constant instead of hardcoded cloud.reflex.dev; the new domain must serve the flag SVG assets for the regions table to function correctly.
docs/hosting/config_file.md Hardcoded https://cloud.reflex.dev/ URL replaced with the constants.REFLEX_CLOUD_URL constant; clean, straightforward change.
docs/hosting/databricks.md Hardcoded Reflex Cloud Tokens URL replaced with constants.REFLEX_CLOUD_URL constant; clean import and usage.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[pcweb/constants.py\nREFLEX_CLOUD_URL = build.reflex.dev] --> B[config_file.md]
    A --> C[databricks.md]
    A --> D[regions.md]

    B --> E[project uuid URL in prose]
    C --> F[tokens URL in markdown link]
    D --> G[flag image src URLs]

    G --> H{flags served at\nbuild.reflex.dev?}
    H -- Yes --> I[Flags render correctly]
    H -- No --> J[Broken flag images in table]
Loading

Last reviewed commit: ad81640

@Kastier1 Kastier1 merged commit db3bca7 into main Mar 13, 2026
10 checks passed
@Kastier1 Kastier1 deleted the carlos/update-hosting-links branch March 13, 2026 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants