MatKollar / Invoice_OCR_app

Web application for recognizing and managing data from Slovak invoices.
MIT License
34 stars 5 forks source link

Uncaught runtime errors: #12 #30

Closed borisovalex closed 6 months ago

borisovalex commented 7 months ago

I have the same issue as #12 The problem is that I run app on another computer, but all posts in fronted are hardcoded with localhost:5000 LoginPage.js ... try { await httpRequest.post("http://localhost:5000/login", { email, password, });

, so frontend never reaches backend, It would be great if backend host is configurable,

MatKollar commented 6 months ago

Hello @borisovalex, thank you for mentioning this issue.

You can now configure your backend host in the .env file located in the frontend directory.