feat(server): add safety checks during dev (#1489)
Co-authored-by: Reed von Redwitz <reed+github@vonredwitz.com>
This commit is contained in:
co-authored by
Reed von Redwitz
parent
430be774e2
commit
a7fe9d04f1
@@ -0,0 +1,11 @@
|
||||
import { Plugin } from "$fresh/server.ts";
|
||||
|
||||
export default function notCallingCtxRender(): Plugin {
|
||||
return {
|
||||
name: "not_calling_ctx_render",
|
||||
entrypoints: {},
|
||||
render() {
|
||||
return {};
|
||||
},
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user