Skip to content

Commit 082098d

Browse files
committed
feat: migrate PostHog redirects from netlify.toml to _redirects file
1 parent b669650 commit 082098d

File tree

2 files changed

+6
-18
lines changed

2 files changed

+6
-18
lines changed

netlify.toml

Lines changed: 0 additions & 18 deletions
This file was deleted.

public/_redirects

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# PostHog reverse proxy for analytics
2+
/ph/static/* https://eu-assets.i.posthog.com/static/:splat 200
3+
/ph/* https://eu.i.posthog.com/:splat 200
4+
5+
# Legacy redirect
6+
/gitcheatsheet /goodies/gitcheatsheet 301

0 commit comments

Comments
 (0)