Skip to content

Commit

Permalink
fix: update axiom token
Browse files Browse the repository at this point in the history
  • Loading branch information
mikewuu committed Jan 15, 2025
1 parent ff1d706 commit b00c4e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .env.local.prod
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_live_51Moau7HbuxsuVjqYkHYn04HghF5XaBXOLbMq

# Axiom
NEXT_PUBLIC_AXIOM_DATASET=homie
NEXT_PUBLIC_AXIOM_TOKEN=xaat-212ecd83-91b1-4d90-84b6-b76fb99e3198
NEXT_PUBLIC_AXIOM_TOKEN=xaat-2b25b517-410f-4997-996e-a58ba74782ca

#SENTRY
NEXT_PUBLIC_SENTRY_DSN=https://59177a22fcb06a1aa24b3413c7aa141a@o4507073753972736.ingest.us.sentry.io/4507201121484800
Expand Down
2 changes: 2 additions & 0 deletions src/lib/log/axiom-request-middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ export default function axiomRequestMiddleware(

await axiom.flush()

console.log('LOGGED')

const response = await middleware(request, event)

axiom.ingest(process.env.NEXT_PUBLIC_AXIOM_DATASET!, [
Expand Down

0 comments on commit b00c4e2

Please sign in to comment.