2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-12 02:05:29 +00:00

Improve barcode error handling

This commit is contained in:
Oliver Walters
2022-05-10 23:37:21 +10:00
parent e2ed80f2d0
commit 6d764e32a0
2 changed files with 3 additions and 7 deletions

View File

@ -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;