Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
s4ke committed Nov 12, 2023
1 parent 523b14a commit b744ab9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docker-swarm-multitenant-proxy/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ function pingWithHeaders(): Promise<{ data: string, headers: http.IncomingHttpHe
app.head('/_ping', async (req, res) => {
try {
const pingResponse = await pingWithHeaders();

for(const key of Object.keys(pingResponse.headers)) {
res.header(key, pingResponse.headers[key]);
}
Expand All @@ -87,7 +86,6 @@ app.head('/_ping', async (req, res) => {
app.get('/_ping', async (req, res) => {
try {
const pingResponse = await pingWithHeaders();

for(const key of Object.keys(pingResponse.headers)) {
res.header(key, pingResponse.headers[key]);
}
Expand Down

0 comments on commit b744ab9

Please sign in to comment.