Next.js: [Help] How to do health-check by http GET without custom server

Created on 22 Mar 2019  路  1Comment  路  Source: vercel/next.js

How to do health-check by http GET without custom server?

Our health-check only support use GET method.
And the service is very simple, we do not want to write a custom node server, if it is not possible.

Most helpful comment

You can end the request in getInitialProps (res.end()) of a page. Please follow the issue template in the future 馃檹

>All comments

You can end the request in getInitialProps (res.end()) of a page. Please follow the issue template in the future 馃檹

Was this page helpful?
0 / 5 - 0 ratings