From 55b0164b9ff1afff4a7c1f00dc321d0ee71015e4 Mon Sep 17 00:00:00 2001 From: Oshawk Date: Mon, 20 May 2024 21:49:28 +0100 Subject: [PATCH] Make agent relative --- src/agent.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/agent.rs b/src/agent.rs index 2f9c776..648a91f 100644 --- a/src/agent.rs +++ b/src/agent.rs @@ -104,4 +104,8 @@ impl Worker for Agent { fn name_of_resource() -> &'static str { "agent.js" } + + fn resource_path_is_relative() -> bool { + true + } }