summaryrefslogtreecommitdiff
path: root/node_modules/wrangler/templates/no-op-worker.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/wrangler/templates/no-op-worker.js')
-rw-r--r--node_modules/wrangler/templates/no-op-worker.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/node_modules/wrangler/templates/no-op-worker.js b/node_modules/wrangler/templates/no-op-worker.js
new file mode 100644
index 0000000..13aeeaa
--- /dev/null
+++ b/node_modules/wrangler/templates/no-op-worker.js
@@ -0,0 +1,10 @@
+export default {
+ fetch() {
+ return new Response("Not found", {
+ status: 404,
+ headers: {
+ "Content-Type": "text/html",
+ },
+ });
+ },
+};