Mobrovac has uploaded a new change for review.
https://gerrit.wikimedia.org/r/197052
Change subject: Quote the proxy setting
......................................................................
Quote the proxy setting
This is directly imported as JS script into Citoid, so it needs to be
valid JS, hence, strings need to be quoted.
Change-Id: I90eb8a0d3333f1126dfa01bef286c9206800ef9d
---
M modules/citoid/templates/localsettings.js.erb
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/52/197052/1
diff --git a/modules/citoid/templates/localsettings.js.erb
b/modules/citoid/templates/localsettings.js.erb
index a116cdb..ed8d040 100644
--- a/modules/citoid/templates/localsettings.js.erb
+++ b/modules/citoid/templates/localsettings.js.erb
@@ -16,7 +16,7 @@
//allowCORS : 'some.domain.org',
// Set proxy for outgoing requests
- proxy : <%= @http_proxy %>,
+ proxy : '<%= @http_proxy %>',
// Allow override of port/interface:
citoidPort : <%= @port %>,
--
To view, visit https://gerrit.wikimedia.org/r/197052
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I90eb8a0d3333f1126dfa01bef286c9206800ef9d
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Mobrovac <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits