scrypted-detection-trainer 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/plugin.zip CHANGED
Binary file
@@ -1983,7 +1983,7 @@ class DetectionTrainer extends sdk_1.ScryptedDeviceBase {
1983
1983
  <div class="toast" id="toast"></div>
1984
1984
 
1985
1985
  <script>
1986
- const BASE = location.pathname.replace(/\/$/, '');
1986
+ const BASE = location.pathname.replace(/\/+$/, '');
1987
1987
  let pending = [];
1988
1988
  let labeledCount = 0;
1989
1989