会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
徐同保
web前端行业的小学生
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
38
39
40
41
42
43
44
45
46
···
88
下一页
2021年10月11日
express+log4js 日志
摘要: utils/tools.js: const log4js = require('log4js') //日志初始化 const initLog = (app) => { log4js.configure({ appenders: { out: { type: 'console' }, cheese:
阅读全文
posted @ 2021-10-11 11:33 徐同保
阅读(26)
评论(0)
推荐(0)
2021年10月8日
express+morganBody记录日志(包含请求数据和响应数据)
摘要: app.js: const express = require('express') const bodyParser = require('body-parser') const cors = require('cors') const history = require('connect-his
阅读全文
posted @ 2021-10-08 17:19 徐同保
阅读(24)
评论(0)
推荐(0)
express+morgan记录日志
摘要: app.js: const express = require('express') const bodyParser = require('body-parser') const cors = require('cors') const history = require('connect-his
阅读全文
posted @ 2021-10-08 16:37 徐同保
阅读(16)
评论(0)
推荐(0)
使用pm2管理node进程
摘要: ecosystem.config.js: module.exports = { apps: [ { name: 'app', script: './app.js', watch: true, ignore_watch: ['node_modules'], node_args: ['--inspect
阅读全文
posted @ 2021-10-08 12:05 徐同保
阅读(19)
评论(0)
推荐(0)
2021年9月30日
node 打包内存溢出
摘要: node 打包内存溢出 FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory FATAL ERROR: Ineffective mark-com
阅读全文
posted @ 2021-09-30 13:44 徐同保
阅读(15)
评论(0)
推荐(0)
Git提交注释模板
摘要:
阅读全文
posted @ 2021-09-30 09:53 徐同保
阅读(13)
评论(0)
推荐(0)
filezilla 共享多个目录
摘要:
阅读全文
posted @ 2021-09-30 09:31 徐同保
阅读(7)
评论(0)
推荐(0)
2021年9月29日
Express URL跳转(重定向)的实现方法
摘要: const app = express() app.get('/', function(req, res) { res.redirect('/air/origin/master/#/light/index/content?id=0') })
阅读全文
posted @ 2021-09-29 10:13 徐同保
阅读(12)
评论(0)
推荐(0)
2021年9月28日
bat文件打包react项目
摘要: 使用call调用yarn安装包,防止批处理退出 使用set设置环境变量,代替cross-env branch是变量 call yarn echo install done set MODE_ENV=jenkins set BUILD_PATH=/temp/air/%branch% set PUBLI
阅读全文
posted @ 2021-09-28 15:55 徐同保
阅读(8)
评论(0)
推荐(0)
bat拷贝文件夹及子文件夹到新目录
摘要: branchTemp是变量 xcopy D:\\Jenkins\\workspace\\air D:\\temp\\air\\%branchTemp%\\ /Y /E
阅读全文
posted @ 2021-09-28 15:51 徐同保
阅读(12)
评论(0)
推荐(0)
上一页
1
···
38
39
40
41
42
43
44
45
46
···
88
下一页
公告