Giter Club home page Giter Club logo

Comments (5)

github-actions avatar github-actions commented on June 2, 2024

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

from webhooks.js.

wolfy1339 avatar wolfy1339 commented on June 2, 2024

The documentation for this repository is correct. The webhooks middleware expects a full path.

As for @octokit/app it expects a path prefix as described in its documentation.

from webhooks.js.

aphexcx avatar aphexcx commented on June 2, 2024

I updated my comment - createNodeMiddleware(app) uses a pathPrefix, and createNodeMiddleware(app.webhooks) from this library uses path. This is very confusing and should standardize on one or the either IMO.

from webhooks.js.

aphexcx avatar aphexcx commented on June 2, 2024

Why are octokit/webhooks and octokit/app different?

from webhooks.js.

wolfy1339 avatar wolfy1339 commented on June 2, 2024

It shouldn't be as you aren't using the webhooks middleware at all if you are using the @octokit/app package.

It exports a middleware that incorporates the webhooks and oauth middlewares.

It's a separate package that has separate options.

This is how it always was implemented in this package, since 11.2.0

from webhooks.js.

Related Issues (20)

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.