mirror of
https://github.com/lxsang/antd-web-apps
synced 2025-07-26 02:29:47 +02:00
update: working version compatible with the latest version of silk and antd
All checks were successful
gitea-sync/antd-web-apps/pipeline/head This commit looks good
All checks were successful
gitea-sync/antd-web-apps/pipeline/head This commit looks good
This commit is contained in:
@ -7,8 +7,8 @@ require("silk.api")
|
||||
-- crypto lib
|
||||
enc = require("enc")
|
||||
WWW_ROOT = __ROOT__.."/blog"
|
||||
-- TODO: change me
|
||||
DB_FILE = "/home/dany/databases/mrsang.db"
|
||||
DB_LOC="/opt/www/databases"
|
||||
DB_FILE = DB_LOC.."/mrsang.db"
|
||||
-- add aditional paths
|
||||
package.path = package.path..";"..WWW_ROOT .. '/?.lua'
|
||||
|
||||
@ -18,8 +18,7 @@ if HEADER.Host then
|
||||
else
|
||||
HTTP_ROOT = "https://blog.iohub.dev"
|
||||
end
|
||||
-- TODO remove me
|
||||
HTTP_ROOT = HTTP_ROOT.."/next/blog"
|
||||
|
||||
CONTROLLER_ROOT = "blog.controllers"
|
||||
MODEL_ROOT = "blog.models"
|
||||
-- file path: path/to/file
|
||||
|
Reference in New Issue
Block a user