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