xushiting %!s(int64=4) %!d(string=hai) anos
pai
achega
2f0663183d
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  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,