From a58c2b340cb437ebaa0c6776fc2b507bfc9e442d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paulo=20Sima=CC=83o?= Date: Sun, 31 Oct 2021 19:57:02 -0300 Subject: [PATCH] fix url --- api/ocr/cli.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/ocr/cli.go b/api/ocr/cli.go index ef8c68c..397260a 100644 --- a/api/ocr/cli.go +++ b/api/ocr/cli.go @@ -138,7 +138,7 @@ type Cli struct { func (c *Cli) OCR(opts *Opts) (*Alto, error) { res := &Alto{} - err := c.HttpCli().JsonPost("/ocr", opts, res) + err := c.HttpCli().JsonPost("/", opts, res) return res, err }