Skip to content

Commit f65219d

Browse files
sshaderConvex, Inc.
authored and
Convex, Inc.
committed
Fix cookie tracking for docs (#35937)
`npx convex docs` uses a link with the query param `t` but docs looks for `c`. GitOrigin-RevId: c396b10dc192dc0cfd0eb818201b2c5c8ea46529
1 parent 3d36985 commit f65219d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

npm-packages/docs/src/plugins/pagelogger.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default (function () {
88

99
const currUrl = new URL(location);
1010
const params = currUrl.searchParams;
11-
const cookieValue = params.get("c");
11+
const cookieValue = params.get("t");
1212
if (cookieValue) {
1313
const isDev = currUrl.hostname.includes("localhost");
1414
const domain = isDev ? currUrl.hostname : "convex.dev";

0 commit comments

Comments
 (0)