fix url
parent
cfbfdd77d5
commit
a58c2b340c
|
@ -138,7 +138,7 @@ type Cli struct {
|
||||||
|
|
||||||
func (c *Cli) OCR(opts *Opts) (*Alto, error) {
|
func (c *Cli) OCR(opts *Opts) (*Alto, error) {
|
||||||
res := &Alto{}
|
res := &Alto{}
|
||||||
err := c.HttpCli().JsonPost("/ocr", opts, res)
|
err := c.HttpCli().JsonPost("/", opts, res)
|
||||||
return res, err
|
return res, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue