Mobrovac has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/402818 )

Change subject: Config: Define the protocol for links contained in page summary
......................................................................

Config: Define the protocol for links contained in page summary

Previously, the protocol for links and images served by the page summary
end point was hard-coded to `https`.
https://github.com/wikimedia/restbase/pull/938 allows the administrator
to change that. Hence, set the protocol in the config to `https` so as
not to change the output once PR #938 gets merged and deployed.

Bug: T179875
Change-Id: I42d5b4e082d3f7a7865703c4f63b2cf17f6495af
---
M scap/templates/config.yaml.j2
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/restbase/deploy 
refs/changes/18/402818/1

diff --git a/scap/templates/config.yaml.j2 b/scap/templates/config.yaml.j2
index 21a3524..58503f4 100644
--- a/scap/templates/config.yaml.j2
+++ b/scap/templates/config.yaml.j2
@@ -102,6 +102,7 @@
         summary:
           host: <%= mobileapps_uri %>
           implementation: <%= summary_impl %>
+          protocol: https
         related:
           cache_control: s-maxage=86400, max-age=3600
         # Cache headers for purged end points.

-- 
To view, visit https://gerrit.wikimedia.org/r/402818
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I42d5b4e082d3f7a7865703c4f63b2cf17f6495af
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/restbase/deploy
Gerrit-Branch: master
Gerrit-Owner: Mobrovac <mobro...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to