Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@jimengio/fe-api-proxy

Package Overview
Dependencies
Maintainers
5
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jimengio/fe-api-proxy

![](https://img.shields.io/npm/v/@jimengio/fe-api-proxy.svg)

latest
Source
npmnpm
Version
0.2.24
Version published
Maintainers
5
Created
Source

API proxy tool

Usage

npm install -g @jimengio/fe-api-proxy

# default
fi-proxy

# with local port
L_PORT=8116 fi-proxy

Features:

  • starts a server listening 8000
  • redirects sites and apis
  • adds CORS headers for apis

Occupied ports:

  • /fi 8888
  • /config 8080
  • /account 9999
  • /system 7777
  • /mobile 8010
  • /api-playground 8020
  • /signin 8030
  • /setup 8030, 共用项目和端口
  • /mobile-ipc 8040, Shopfloor App
  • /admin 8899

User config file

Use ./jimeng-proxy.js to add local configs:

module.exports = {
  playground: 8020,
};

CLI tool would try to require(...) the file and merge into sites configurations.

FAQs

Package last updated on 21 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts