xushiting 4 years ago
parent
commit
2f0663183d
2 changed files with 2 additions and 2 deletions
  1. 1 1
      IndoorViewerAPI.js
  2. 1 1
      api/datasets

+ 1 - 1
IndoorViewerAPI.js

@@ -152908,7 +152908,7 @@ and limitations under the License.
                                 var y = e(o, a)
                                   , b = !1;
 								console.log('url2:'+a);
-								if(a.indexOf('/api/pois/filter')>-1){
+								if(a.indexOf('/api/pois/filter')>-1||a.indexOf('/api/datasets')){
 									//o = 'GET';
 									a = '../../indoor/'+sceneNum+a.substring(a.indexOf('/api/'));
 								} 

+ 1 - 1
api/datasets

@@ -2,7 +2,7 @@
 	"security": {
 		"group_read": 0,
 		"group_write": 1,
-		"can_write": false
+		"can_write": true
 	},
 	"id": 1,
 	"bundle_id": 3,