Skip to content
Open
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
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ POSTHOG_PROJECT_API_KEY=phc_your_project_api_key_here
POSTHOG_PERSONAL_API_KEY=phx_your_personal_api_key_here

# PostHog host URL (remove this line if using posthog.com)
POSTHOG_HOST=http://localhost:8000
POSTHOG_HOST=http://localhost:8010
2 changes: 1 addition & 1 deletion example.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def load_env_file():
# Get configuration
project_key = os.getenv("POSTHOG_PROJECT_API_KEY", "")
personal_api_key = os.getenv("POSTHOG_PERSONAL_API_KEY", "")
host = os.getenv("POSTHOG_HOST", "http://localhost:8000")
host = os.getenv("POSTHOG_HOST", "http://localhost:8010")

# Check if project key is provided (required)
if not project_key:
Expand Down
2 changes: 1 addition & 1 deletion examples/remote_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Initialize PostHog client
posthog.api_key = "phc_..."
posthog.personal_api_key = "phs_..." # or "phx_..."
posthog.host = "http://localhost:8000" # or "https://us.posthog.com"
posthog.host = "http://localhost:8010" # or "https://us.posthog.com"
posthog.debug = True


Expand Down