V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
爱意满满的作品展示区。
cyio

多项目 webhooks 服务

  •  
  •   cyio ·
    cyio · Aug 7, 2017 · 2294 views
    This topic created in 3188 days ago, the information mentioned may be changed or developed.

    之前同事是把 webhook 绑定端口写死在项目里,增加新项目时会很麻烦(要增加新的端口) 找了一圈,没找到合适的,就自己动手写了,只需要一个端口,通过地址区分项目

    • 支持为多个项目配置 webhook,请查看 config.json
    • 运行 npm start
    • 建议搭配 pm2 使用 pm2 start index.js --watch --name 'webhooks-server'

    cyio/webhooks-server: 多项目 webhooks 服务

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2417 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 01:41 · PVG 09:41 · LAX 18:41 · JFK 21:41
    ♥ Do have faith in what you're doing.