Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/hosting/config_file.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
```python exec
import reflex as rx
from reflex_image_zoom import image_zoom
from pcweb import constants
from pcweb.pages.docs import hosting
from pcweb.pages import docs
from pcweb.styles.styles import get_code_style, cell_style
Expand Down Expand Up @@ -99,7 +100,7 @@ You can also specify a project uuid instead of name:
project: 12345678-1234-1234-1234-1234567890ab
```

You can go to the homepage of the project in the reflex cloud dashboard to find your project uuid in the url `https://cloud.reflex.dev/project/uuid`
You can go to the homepage of the project in the reflex cloud dashboard to find your project uuid in the url `{constants.REFLEX_CLOUD_URL.rstrip("/")}/project/uuid`

### Apt Packages

Expand Down
3 changes: 2 additions & 1 deletion docs/hosting/databricks.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
```python exec
import reflex as rx
from pcweb import constants
from pcweb.styles.styles import get_code_style, cell_style

```
Expand Down Expand Up @@ -56,7 +57,7 @@ env:
### Obtain Required Tokens

1. **Reflex Access Token**
- Visit [Reflex Cloud Tokens](https://cloud.reflex.dev/tokens/)
- Visit [Reflex Cloud Tokens]({constants.REFLEX_CLOUD_URL.rstrip("/")}/tokens/)
- Navigate to Account Settings → Tokens
- Create a new token and copy the value
- Replace `your-token-here` in the configuration
Expand Down
3 changes: 2 additions & 1 deletion docs/hosting/regions.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
```python exec
import reflex as rx
from reflex_image_zoom import image_zoom
from pcweb.constants import REFLEX_CLOUD_URL
from pcweb.pages.docs import hosting
from pcweb.pages import docs
from pcweb.styles.styles import get_code_style, cell_style
Expand Down Expand Up @@ -95,7 +96,7 @@ rx.el.table(
rx.el.td(
rx.el.div(
rx.image(
src=f"https://cloud.reflex.dev/flags/{COUNTRIES_CODES[region]}.svg",
src=f"{REFLEX_CLOUD_URL.rstrip('/')}/flags/{COUNTRIES_CODES[region]}.svg",
class_name="rounded-[2px] mr-2 w-5 h-4",
),
REGIONS_DICT[region],
Expand Down
2 changes: 1 addition & 1 deletion pcweb/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
REFLEX_URL = "https://reflex.dev/"
REFLEX_DOCS_URL = "https://reflex.dev/docs/getting-started/introduction/"
PYNECONE_URL = "https://pynecone.io"
REFLEX_CLOUD_URL = os.getenv("REFLEX_CLOUD_URL", "https://cloud.reflex.dev/")
REFLEX_CLOUD_URL = os.getenv("REFLEX_CLOUD_URL", "https://build.reflex.dev/")
REFLEX_BUILD_URL = os.getenv("REFLEX_BUILD_URL", "https://build.reflex.dev/")
JOBS_BOARD_URL = "https://www.ycombinator.com/companies/reflex/jobs"
CHANGELOG_URL = "https://github.com/reflex-dev/reflex/releases"
Expand Down
Loading