Sunday, 16 April 2017

get HTTP status code with MeteorJS

Do you know if i can get the HTTP status code with MeteorJS (or directly with NodeJS) ? I've read on HTTP Api documentation, but no result :(

For setting my routes, i use Iron Router.

I woud like get my page status code for add prerender balise :

<meta name="prerender-status-code" content="404">

I use MeteorJS on latest version :)

Thank you community !



via Stéphane R.

No comments:

Post a Comment