# HG changeset patch # User jbe # Date 1425242570 -3600 # Node ID e60ef3334d9212e76b49f59af436415988c6bf7f # Parent 23901a8f0d58fee71c52c20e60e829c07b674808 Use correct path for static file delivery diff -r 23901a8f0d58 -r e60ef3334d92 framework/env/request/process.lua --- a/framework/env/request/process.lua Sun Mar 01 21:41:33 2015 +0100 +++ b/framework/env/request/process.lua Sun Mar 01 21:42:50 2015 +0100 @@ -16,7 +16,7 @@ function() if request._route.static then - local f = assert(io.open(request._route.static, "r")) + local f = assert(io.open(WEBMCP_BASE_PATH .. "static/" .. request._route.static, "r")) local d = f:read("*a") f:close() slot.put_into("data", d)