Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: skip 404 state #107

Merged
merged 1 commit into from
Nov 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
repos:
- repo: https://github.com/streetsidesoftware/cspell-cli
rev: v8.8.2
rev: v8.16.0
hooks:
- id: cspell
- repo: https://github.com/hadolint/hadolint
rev: v2.12.0
rev: v2.13.1-beta
hooks:
- id: hadolint
- repo: local
hooks:
- id: secretlint
- id: secretlint
name: secretlint
language: docker_image
entry: secretlint/secretlint:latest secretlint
3 changes: 3 additions & 0 deletions routes/_middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ function ga4(
if (conn.url.pathname === "/healthz") {
return;
}
if (response.status === 404) {
return;
}

// Create basic report.
const measurementId = GA4_MEASUREMENT_ID;
Expand Down
Loading