Massima distanza nela ricerca fixed
[YouAndWeb_TwoToc] / server / api / show / show.model.js
index 2bb15d6..2e0ed33 100755 (executable)
@@ -13,7 +13,7 @@ var ShowSchema = new Schema({
   info: String,
   location: {
     type: [Number],
-    index: '2d'
+    index: '2dsphere'
   },
   place: String,
   categoryId: String,