feat(analytics): add Rybbit proxy rewrites and env vars
Some checks failed
Build and Deploy / build (push) Has been cancelled
Some checks failed
Build and Deploy / build (push) Has been cancelled
- Add Next.js rewrites to proxy /api/script.js and /api/track through self-hosted Rybbit - This bypasses ad blockers that would block rybbit.nodecrew.me directly - Add NEXT_PUBLIC_RYBBIT_HOST and NEXT_PUBLIC_RYBBIT_SITE_ID env vars to K8s deployment
This commit is contained in:
@@ -126,6 +126,10 @@ spec:
|
||||
value: "91126be0d1e78e657e0427df82733832.c6d30edf6ee673da9650a883604169a13ab8579a0dde70cb39b477f4cf441f90"
|
||||
- name: OPENPANEL_API_URL
|
||||
value: "https://op.nodecrew.me/api"
|
||||
- name: NEXT_PUBLIC_RYBBIT_HOST
|
||||
value: "https://rybbit.nodecrew.me"
|
||||
- name: NEXT_PUBLIC_RYBBIT_SITE_ID
|
||||
value: "1"
|
||||
resources:
|
||||
limits:
|
||||
cpu: 500m
|
||||
|
||||
Reference in New Issue
Block a user