NSAS

Results 2 issues of NSAS

i find preview buttom use method like : let basename = document.baseURI.replace(window.location.origin, ""); path = `${window.location.origin}${basename}api/v1/buckets/${bucketName}/objects/download?preview=true&prefix=${encodedPath}`; but download has not use basename! now like that : let path = `/api/v1/buckets/${bucketName}/objects/download?prefix=${objectPath}${...

默认jsgen下如果运行最新jsgen将出现:Failed to load c++ bson extension, using pure JS version { [MongoError: driver is incompatible with this server version] name: 'MongoError' } ^Z 测试发现此为mongoskin的版本过低导致 解决方案: 将root下package.js的"mongoskin": "~1.3.x"修改为"mongoskin": "~1.4.x" npm install...