mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Improve barcode error handling
This commit is contained in:
parent
e2ed80f2d0
commit
6d764e32a0
2 changed files with 3 additions and 7 deletions
|
|
@ -332,10 +332,6 @@ class InvenTreeAPI {
|
|||
if (!address.endsWith("/")) {
|
||||
address = address + "/";
|
||||
}
|
||||
/* TODO: Better URL validation
|
||||
* - If not a valid URL, return error
|
||||
* - If no port supplied, append a default port
|
||||
*/
|
||||
|
||||
_BASE_URL = address;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue