Only randomize the URI once

This commit is contained in:
Spencer McIntyre
2023-10-12 09:12:26 -04:00
parent 5577413bd9
commit de8e392b7b
@@ -27,10 +27,11 @@ module ClassLoader
end
def resource_uri
return @resource_uri if @resource_uri
# the resource URI must end in / for the class loading to work
path = super
path += '/' unless path.end_with?('/')
path
@resource_uri = path
end
def on_request_uri(cli, request)