Commit Graph

70 Commits

Author SHA1 Message Date
3d6957ad8b rename configEnvar() to mergeEnvar() 2022-04-30 09:16:40 +08:00
fe3d67ee6b 用 secretEnvarFile 做参数给 maskSecret 2022-04-27 09:04:48 +08:00
52145c676e 随着 base.enviconfig 接受 configFiles 参数,修改调用参数格式 2022-04-24 16:42:58 +08:00
e66bd5be47 u 2022-04-18 16:06:34 +08:00
d50c4fb55c u 2022-04-17 16:04:01 +08:00
fca99a20df rename envi to envar 2022-04-03 16:19:52 +08:00
6c387470b0 rename Web_Host to Web_Hostname 2022-04-03 14:10:48 +08:00
b1e21fd087 把配置参数改名为 Xxx_Yyy 形式:Web_Protocol/Host/Port/Root/Ssl/Index 2022-04-03 12:50:01 +08:00
a4ea1f2914 u 2022-03-11 13:43:23 +08:00
69d62271a1 remove base.tool, do not show ipv4 by default 2022-03-11 11:51:26 +08:00
b5de51a72d rename base.nettool to base.tool 2022-03-11 10:51:40 +08:00
ea60281bf3 在 httpall 时,定义 port: {portHttp, portHttps} 2021-12-29 21:49:03 +08:00
3129a23c07 u 2021-12-23 22:27:07 +08:00
f34633a529 [package.json] rename drive to serve 2021-12-15 22:45:20 +08:00
f407e8a6e9 use reply.writeHead instead of reply.redirect to make sure httpall work 2021-11-28 15:28:47 +08:00
9b2e72c19a bug fix: 作为库使用时,不能 __dirname 作为根目录起点,要用 process.cwd() 2021-10-24 08:45:13 +08:00
2d1dbe8eee u 2021-10-18 21:55:48 +08:00
57b68eb036 u 2021-10-17 11:36:37 +08:00
7e796f4527 u 2021-09-26 19:13:41 +08:00
8d5f8db341 u 2021-09-25 21:33:57 +08:00
c1a7660c38 批量重命名 npm/* 使用标准前缀 base|core|user 2021-09-16 21:53:17 +08:00
2e64e061af upgrade sol.enviconfig to include mergeConfig and getDynamicConfig 2021-09-12 09:55:35 +08:00
cdd08a0022 u 2021-09-09 17:32:13 +08:00
5a2199e165 rename data.log to logbase 2021-09-08 20:31:23 +08:00
cf47c24274 rename 'from' to 'webroot' 2021-09-05 13:47:51 +08:00
90202815d5 change default 'from' value from './dist' to './www' 2021-08-02 07:25:31 +08:00
21f95f6a61 u 2021-08-01 22:50:06 +08:00
a619741d2c rename http2https to redirectHttp2Https, proxy to proxyHttps2Http 2021-08-01 21:59:30 +08:00
f7723e1c60 bugfix: change sol.basetool to so.nettool; remove Multer-related code because this is just a simple static web server. 2021-07-06 10:34:06 +08:00
d0e33a88f2 [package.json] use nodemon instead of node 2021-06-26 09:41:49 +08:00
31261b6330 rename sol.tool to sol.basetool 2021-06-20 11:55:49 +08:00
b86064375c [package.json] rename daemon to drive 2021-06-20 09:20:25 +08:00
6cc40dda52 u 2021-06-19 22:00:33 +08:00
9a76d044d8 rename runenv to prodev 2021-06-19 20:18:51 +08:00
b47663d35c rename sol.sysconfig to sol.enviconfig 2021-06-19 20:00:38 +08:00
698c925c36 reorg so.* to sol.* 2021-05-09 15:51:58 +08:00
a0c355d069 rename env to runenv 2021-03-23 12:55:37 +08:00
0dca26429f use Config.env instead of server.get('env') 2021-03-23 11:12:55 +08:00
b9e9297375 删掉命令行参数 env。如有需要,请用 process.env.NODE_ENV 2021-03-22 14:48:32 +08:00
5ec9cafcd3 u 2021-02-22 12:52:55 +08:00
a74b5e3ad2 不能用 -h 作为 --host 简写,因为和 -h --help 冲突 2021-01-26 20:08:05 +08:00
75c4f1c6a3 调用 so.sysconfig(rawConfig) 来提供基础配置参数,从而可以不提供 ConfigBasic.js 等配置文件。 2021-01-26 20:03:42 +08:00
83581c72c8 允许命令行传入 from 等基本参数 2021-01-26 17:43:21 +08:00
a3665cacdf 换用 npm/so.* 库 2021-01-25 08:52:30 +08:00
ebab1a3122 删掉 so.base,换用 npm/sysconfig 和 webtoken 2021-01-24 11:59:03 +08:00
4aab66a02f 统一更新一批库的版本 2020-10-31 12:10:20 +08:00
8c49bfc93c npm i 时缺少依赖无法安装了,所以删除 greenlock 2020-08-05 14:27:36 +08:00
0afa18eed3 不要打包Config*.js 2020-05-30 14:27:43 +08:00
b99923cd90 纠正:无论有没有用户配置,都要Object.assign(最基础配置,用户配置) 2020-05-30 14:25:22 +08:00
c432743461 fixed: 防止Config.ssl不存在 2020-05-08 10:42:17 +08:00