summaryrefslogtreecommitdiff
path: root/server/publish.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/publish.lua')
-rw-r--r--server/publish.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/publish.lua b/server/publish.lua
index b0040641..149d54d6 100644
--- a/server/publish.lua
+++ b/server/publish.lua
@@ -10,7 +10,7 @@ package.path = rootPath .. 'src/?.lua'
local fs = require 'bee.filesystem'
local subprocess = require 'bee.subprocess'
-ROOT = fs.absolute(fs.path(rootPath))
+ROOT = fs.absolute(fs.path(rootPath):parent_path())
EXTENSION = fs.absolute(fs.path(rootPath .. '..'))
require 'utility'