feat: trying to add hashes to scripts
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import { Handlers } from "$fresh/server.ts";
|
||||
import { createStreamResponse } from "@lib/helpers.ts";
|
||||
import { define } from "../../utils.ts";
|
||||
|
||||
const activeResponses: ReturnType<typeof createStreamResponse>[] = [];
|
||||
|
||||
export const handler: Handlers = {
|
||||
export const handler = define.handlers({
|
||||
GET() {
|
||||
const r = createStreamResponse();
|
||||
|
||||
@@ -11,4 +11,4 @@ export const handler: Handlers = {
|
||||
|
||||
return r.response;
|
||||
},
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user