mirror of
https://github.com/inventree/inventree-app.git
synced 2026-10-06 23:32:11 +00:00
Improve barcode error handling
This commit is contained in:
1 parent
e2ed80f2d0
commit
6d764e32a0
2 files changed
+3
-7
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user