diff --git a/dashboard/public/views/app.html b/dashboard/public/views/app.html index c58698149..8bc182580 100644 --- a/dashboard/public/views/app.html +++ b/dashboard/public/views/app.html @@ -1159,10 +1159,10 @@
-
+

Comma serparated list of devices mounted into the app

- + {{ resources.error.devices }}
diff --git a/src/apps.js b/src/apps.js index bdf499fda..2be6773da 100644 --- a/src/apps.js +++ b/src/apps.js @@ -486,7 +486,7 @@ function validateTags(tags) { function validateDevices(devices) { for (const key in devices) { - if (key.indexOf('/dev/' !== 0)) return new BoxError(BoxError.BAD_FIELD, 'devices must start with /dev/'); + if (key.indexOf('/dev/') !== 0) return new BoxError(BoxError.BAD_FIELD, `"${key}" must start with /dev/`); } return null;