yumauri / gotenberg-js-client

A simple JS/TS client for interacting with a Gotenberg API
MIT License
111 stars 9 forks source link

Error: 404 Not Found #42

Closed macmeharder closed 2 years ago

macmeharder commented 2 years ago

I had a problem converting from html

The documentation says to specify your host

const toPDF = pipe( gotenberg('http://localhost:3000'), convert, html, please )

But it gave out Error: 404 Not Found

But if specify http://localhost:3000/forms/chromium it works

I think it's worth mentioning in the documentation =)

yumauri commented 2 years ago

Hello! Thank you for raising an issue :) This library is not yet fully compatible with Gotenberg 7, workaround (which you've discovered yourself :)) is mentioned in this comment.

yumauri commented 2 years ago

This issue is not the first issue raised, related to Gotenberg 7, so I've added nota bene in README, thank you :)