braidfs 0.0.86 → 0.0.87

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -907,7 +907,7 @@ async function ensure_path(path) {
907
907
  ////////////////////////////////
908
908
 
909
909
  function normalize_url(url) {
910
- return url.replace(/(\/index|\/)+$/, '')
910
+ return url.replace(/(\/index)*\/?$/, '')
911
911
  }
912
912
 
913
913
  async function is_dir(p) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "braidfs",
3
- "version": "0.0.86",
3
+ "version": "0.0.87",
4
4
  "description": "braid technology synchronizing files and webpages",
5
5
  "author": "Braid Working Group",
6
6
  "repository": "braid-org/braidfs",