Skip to content

Commit 51470d9

Browse files
Merge pull request #250 from NHSDigital/NRL-2005-rename-proxygen-app-id-header
NRL-2005 Rename NRL-App-ID header to be compatible with future proxygen custom header
2 parents 5b5f413 + 3bcc76a commit 51470d9

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
(function () {
22
const nrlAppID = context.getVariable("app.nrl-app-id");
33
if (nrlAppID) {
4-
context.targetRequest.headers["NHSD-NRL-App-ID"] = nrlAppID;
5-
}
6-
else {
7-
context.targetRequest.headers["NHSD-NRL-App-ID"] = "NotProvided";
4+
context.targetRequest.headers["X-Proxygen-App-NRL-App-ID"] = nrlAppID;
5+
} else {
6+
context.targetRequest.headers["X-Proxygen-App-NRL-App-ID"] = "NotProvided";
87
}
98
})();

0 commit comments

Comments
 (0)