Skip to content

Commit dd8ee65

Browse files
authored
fix: update localhost port in examples from 8000 to 8010 (#453)
1 parent 2cac15a commit dd8ee65

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ POSTHOG_PROJECT_API_KEY=phc_your_project_api_key_here
88
POSTHOG_PERSONAL_API_KEY=phx_your_personal_api_key_here
99

1010
# PostHog host URL (remove this line if using posthog.com)
11-
POSTHOG_HOST=http://localhost:8000
11+
POSTHOG_HOST=http://localhost:8010

example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def load_env_file():
3333
# Get configuration
3434
project_key = os.getenv("POSTHOG_PROJECT_API_KEY", "")
3535
personal_api_key = os.getenv("POSTHOG_PERSONAL_API_KEY", "")
36-
host = os.getenv("POSTHOG_HOST", "http://localhost:8000")
36+
host = os.getenv("POSTHOG_HOST", "http://localhost:8010")
3737

3838
# Check if project key is provided (required)
3939
if not project_key:

examples/remote_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# Initialize PostHog client
99
posthog.api_key = "phc_..."
1010
posthog.personal_api_key = "phs_..." # or "phx_..."
11-
posthog.host = "http://localhost:8000" # or "https://us.posthog.com"
11+
posthog.host = "http://localhost:8010" # or "https://us.posthog.com"
1212
posthog.debug = True
1313

1414

0 commit comments

Comments
 (0)