fee
fee copied to clipboard
灯塔开源文档地址
**Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll...
阉割严重呀,没有项目接入添加的入口 _Originally posted by @huruji in https://github.com/LianjiaTech/fee/issues/11#issuecomment-657102547_ 你使用这个了吗
**Describe the bug** > Chinese characters encode error **To Reproduce** Steps to reproduce the behavior: 1. Click the below link and See the error https://github.com/LianjiaTech/fee/tree/master/client#%E9%A1%B9%E7%9B%AE%E5%8A%9F%E8%83%BD **Expected behavior** encode UTF-8 **Screenshots**...
server/src/routes/index.js中 ``` // 注册路由中间件, 需要在注册路由地址之前使用 loginRouter.use(PrivilegeChecker.checkLogin) loginProjectRouter.use(PrivilegeChecker.checkPrivilege) ``` 注册中间件在注册路由地址之前使用,的确会提前检测login和privilege,但是对于应该返回404的路由,就无法正常通过了。 建议优化: 注册中间件的时机,应该注册路由地址之后,加入URL进行过滤。 代码如下: ``` for (let url of Object.keys(routerConfigMap)) { let routerConfig = routerConfigMap[url]; if (routerConfig.needLogin) { // 需要登录 loginRouter.use(url, PrivilegeChecker.checkLogin);...
我看到task的manage启动任务在启动parseNginx的时候是按定时任务,每分钟执行一次parseNginxLog。如果每个nginx的日志里面的内容很多。而这一分钟没有处理完这些数据,那么这些定时任务开启的node进程是不是越来越多呢。这样内存是不是会占满,fee是如何处理这个问题的呢,还是我的理解有问题,能不能说下呢。 在parseNginxLog文件的每行数据接收回调函数onDataIn中,我看到有每当处理好的数据文件写入流个数大于100就会删除老的流,那样老的数据是不是就不再处理了。还是有哪里处理了呢。
server/src/routes/api/project/item/index.js 中的路由/api/project/item/update。 客户端请求时候 'displayName','projectName','cDesc'都是驼峰命名,但是数据库中用的是下划线命名,应该在真正更新数据前,应该相应的把驼峰的值转一下给display_name等。