diff --git a/server.spl b/server.spl index 9e8fe26..80c10f6 100644 --- a/server.spl +++ b/server.spl @@ -128,7 +128,10 @@ func dir { | with client dir location ; func handle-client { | with client ; client:read; - + client:path:ends-with<".jar"> if { + client:path:sub<0 client:path:len 4 -> client:=path + } + "/refresh" client:path eq if { client:server:cached-files if {