summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
Diffstat (limited to 'server/src')
-rw-r--r--server/src/uri.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/uri.lua b/server/src/uri.lua
index 4505d554..ec3cdad6 100644
--- a/server/src/uri.lua
+++ b/server/src/uri.lua
@@ -17,7 +17,7 @@ local function decode(uri)
end
local function encode(path)
- local fullPath = fs.absolute(path)
+ local fullPath = fs.absolute(ROOT / path)
local obj = URI_FILE.make_file_uri(fullPath:string(), OS)
local uri = obj:uri()
return uri