Missing await in ga middleware
Ko1103 opened this issue · 2 comments
Ko1103 commented
I'm using this deno_blog with ga middleware, but Google Analytics not working.
I think I found the cause, it is missing await
in this line.
Line 493 in 0a43328
Reproduce
Here's my main.ts file.
import blog, { ga, redirects } from "blog";
blog({
...
middlewares: [
// If you want to set up Google Analytics, paste your GA key here.
ga("G-XXXXXXXXXX"),
],
});
rojvv commented
How do you know if it is not working?