corrcet https vs http for title image + avoid unused update route on api
authorymh <ymh.work@gmail.com>
Mon, 19 Mar 2018 15:45:08 +0100
changeset 569 2815e71c65fb
parent 568 fd2a9b706231
child 570 cdf0cb7bf073
corrcet https vs http for title image + avoid unused update route on api
cms/app-client/app/components/notice-location-component.js
server/src/routes/api.php
--- a/cms/app-client/app/components/notice-location-component.js	Fri Nov 17 18:02:24 2017 +0100
+++ b/cms/app-client/app/components/notice-location-component.js	Mon Mar 19 15:45:08 2018 +0100
@@ -7,7 +7,7 @@
   filter: Ember.inject.service(),
 
   zoom: 6,
-  tilesUrl: "http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
+  tilesUrl: "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
 
   location: Ember.computed('geoInfo', function() {
     return [this.get('geoInfo.latitude'), this.get('geoInfo.longitude')];
--- a/server/src/routes/api.php	Fri Nov 17 18:02:24 2017 +0100
+++ b/server/src/routes/api.php	Mon Mar 19 15:45:08 2018 +0100
@@ -14,7 +14,7 @@
     Route::pattern('id', ".*");
     Route::get('documents/{id}/transcript', 'Api\DocumentController@transcript');
     Route::resource('documents', 'Api\DocumentController', [
-            'only' => ['index', 'show', 'update']
+            'only' => ['index', 'show']
     ]);