Skip to content

Commit

Permalink
remove GA
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrossh committed Dec 3, 2023
1 parent 2b22eec commit 4c08a95
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions routes/_middleware.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
import { FreshContext } from "$fresh/server.ts";
import { createReporter } from "https://deno.land/x/g_a/mod.ts";

const report = createReporter({
id: "UA-31541587-1",
});

export async function handler(req: Request, ctx: FreshContext) {
const start = performance.now();
export async function handler(_req: Request, ctx: FreshContext) {
const resp = await ctx.next();
report(req, { remoteAddr: ctx.remoteAddr }, resp, start, null);
return resp;
}

0 comments on commit 4c08a95

Please sign in to comment.