Skip to content

Commit

Permalink
Update +page.server.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ieedan authored Jan 29, 2025
1 parent 64be883 commit eae86f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sites/docs/src/routes/registry/+page.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const load = async ({ url }) => {
throw error(404, { message: 'registry-search: Could not find the requested registry' });
}

if (dev) {
if (!dev) {
await redis.incr(`${VIEW_PREFIX}:${registryUrl}`);
}

Expand Down

0 comments on commit eae86f9

Please sign in to comment.