Skip to content

Commit

Permalink
🧑‍💻 Log events
Browse files Browse the repository at this point in the history
  • Loading branch information
GiyoMoon committed Apr 4, 2023
1 parent 902f75c commit e11767c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/plausible/plausible.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ export class PlausibleService {
body = raw.toString().trim();
}

console.log(body);
console.log(forwardedHeaders);

await this.httpService.axiosRef.post(
`${process.env.PLAUSIBLE_HOST}/api/event`,
body,
Expand Down

0 comments on commit e11767c

Please sign in to comment.