Socket
Book a DemoInstallSign in
Socket

maishu-image-components

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

maishu-image-components

``` npm i maishu-image-components ```

latest
Source
npmnpm
Version
1.11.0
Version published
Maintainers
1
Created
Source

图片组件

安装

npm i maishu-image-components

配置

ImageService.serviceHost = "http://192.168.2.94:2880/image";
ImageService.headers["application-id"] = "7bbfa36c-8115-47ad-8d47-9e52b58e7efd";

其中:

  • serviceHost, 图片服务的 URL 地址
  • headers["application-id"],应用编号,如果请求是通过网关,可以不设置

运行示例

  • 进入项目文件夹
  • 运行命令 node-static ./samples
  • 在浏览器输入 http://127.0.0.1:49532

FAQs

Package last updated on 23 May 2022

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