Coder Social home page Coder Social logo

xj-ui's Introduction

xj-ui

xj前端项目

部署教程

拉取项目

https://github.com/gmr1997/xj-ui.git

安装依赖

进入项目目录运行以下命令

npm install

修改相关配置

  1. 前端运行ip及端口,修改文件config/index.js
host: 'localhost', // can be overwritten by process.env.HOST  
port: 9090, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
  1. 后端跨域配置,修改文件config/index.js
proxyTable: {
  '/': {
    target: 'http://localhost:9091', // 9091为后端部署端口
    changeOrigin: true,
    pathRewrite: {
      '^/': ''
    }
  }
}
  1. axios请求默认转发地址,修改src/main.js
axios.defaults.baseURL = 'http://localhost:9090/' // 9090为前端部署端口

运行项目

npm run dev

浏览页面效果

http://localhost:9090/#/index

xj-ui's People

Watchers

 avatar

xj-ui's Issues

同学,您这个项目引入了1004个开源组件,存在23个漏洞,辛苦升级一下

检测到 gmr1997/xj-ui 一共引入了1004个开源组件,存在23个漏洞

漏洞标题:Growl命令执行漏洞
缺陷组件:[email protected]
漏洞编号:CVE-2017-16042
漏洞描述:Growl是一套支持Node.js的通知系统。
Growl 1.10.2之前版本中存在安全漏洞,该漏洞源于在将输入传递到shell命令之前,程序未能正确的对其进行过滤。攻击者可利用该漏洞执行任意命令。
国家漏洞库信息:https://www.cnvd.org.cn/flaw/show/CNVD-2018-24664
影响范围:(∞, 1.10.0)
最小修复版本:1.10.0
缺陷组件引入路径:[email protected]>[email protected]>[email protected]>[email protected]

另外还有23个漏洞,详细报告:https://mofeisec.com/jr?p=a72763

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.