From bd1a684806a01702a46c05cb7c75d3b01f2fd242 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 28 Aug 2019 21:16:13 +0800 Subject: =?UTF-8?q?=E4=BF=AE=E6=AD=A3bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/uri.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/src') 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 -- cgit v1.2.3