https://github.com/chneau/hono-proxy-posthog-bug
A minimal bug reproduction to show a small issue with Hono proxy proxying to posthog
https://github.com/chneau/hono-proxy-posthog-bug
Last synced: 8 months ago
JSON representation
A minimal bug reproduction to show a small issue with Hono proxy proxying to posthog
- Host: GitHub
- URL: https://github.com/chneau/hono-proxy-posthog-bug
- Owner: chneau
- Created: 2025-04-13T12:05:51.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-04-16T16:26:00.000Z (about 1 year ago)
- Last Synced: 2025-07-19T09:30:33.019Z (11 months ago)
- Language: TypeScript
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hono-proxy-posthog-bug
A minimal bug reproduction to show a small issue with Hono proxy proxying to
posthog
## Steps to reproduce
```bash
# install dependencies
bun install
# set your POSTHOG_TOKEN="..." in a .env file
# or just pass it to bun start
POSTHOG_TOKEN="..." bun start
# run the server
bun start
# go to http://localhost:9000
# try and refresh each kind of wways to initialize posthog
# 1. without proxy - works OK
# 2. with proxy following https://posthog.com/docs/advanced/proxy/remix
# 3. with proxy trying to use https://hono.dev/examples/proxy
```