Skip to content

Commit

Permalink
confirm build error issue
Browse files Browse the repository at this point in the history
Co-Authored-By: Bloxs <[email protected]>
  • Loading branch information
quick007 and Blocksnmore committed Nov 15, 2023
1 parent d44a4f3 commit ef1d0dc
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions fresh.config.ts
Original file line number Diff line number Diff line change
@@ -1,22 +1,15 @@
import { defineConfig } from "$fresh/server.ts";
import unocssPlugin from "@/utils/plugins/unocss.ts";
import {
createQueueValueHandler,
kvInsightsPlugin,
} from "https://deno.land/x/[email protected]/mod.ts";
import { kv } from "./utils/db/kv.ts";

const kvInsightsQueueValueHandler = createQueueValueHandler();

kv.listenQueue(async (value: unknown) => {
await kvInsightsQueueValueHandler(value); // execute the kv-insights value handler
// add your code to handle the queue value here
});
import { kv } from "@/utils/db/kv.ts";

export default defineConfig({
plugins: [unocssPlugin()
// kvInsightsPlugin({
// kv
// })
plugins: [
unocssPlugin(),
kvInsightsPlugin({
kv,
}),
],
});

0 comments on commit ef1d0dc

Please sign in to comment.