We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 333b45a commit 5a437b2Copy full SHA for 5a437b2
1 file changed
proxies/live/apiproxy/resources/jsc/SearchAndReplaceResponse.js
@@ -1,6 +1,23 @@
1
var requestHostnameEnv = context.getVariable("request_hostname_env");
2
3
var searchAndReplaceStrings = [
4
+ {
5
+ comment1: "=============================================================",
6
+ comment2: "Secure protocol and www subdomain ",
7
+ comment3: "=============================================================",
8
+ },
9
10
+ searchForRegex: /http:\/\/www.nhs.uk/gm,
11
+ replaceWithStr: "https://www.nhs.uk",
12
13
14
+ searchForRegex: /http:\/\/nhs.uk/gm,
15
16
17
18
+ searchForRegex: /https:\/\/nhs.uk/gm,
19
20
21
{
22
comment1: "=============================================================",
23
comment2: "Conditions ",
0 commit comments