1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2025-07-23 00:59:52 +02:00

minor fixes

This commit is contained in:
lxsang
2018-10-17 19:48:31 +02:00
parent 6098e1b0ee
commit 1681bb6fc1
7 changed files with 33 additions and 12 deletions

View File

@ -4,8 +4,12 @@
-- ^\/apps\/+(.*)$ = /apps/router.lua?r=<1>&<query>
-- some global variables
DIR_SEP = "/"
WWW_ROOT = "/opt/www/htdocs/os"
HTTP_ROOT = "https://os.lxsang.me"
WWW_ROOT = __ROOT__.."/os"
if HEADER.host then
HTTP_ROOT= "https://"..HEADER.host
else
HTTP_ROOT = "https://os.lxsang.me"
end
-- class path: path.to.class
BASE_FRW = ""
-- class path: path.to.class