Skip to content

Commit

Permalink
Merge pull request #168 from bettyblocks/acceptance
Browse files Browse the repository at this point in the history
Acceptance
  • Loading branch information
emielwit authored Nov 20, 2023
2 parents 681cfa4 + 5cac6c1 commit a86a03b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const serve = (request, response, file) => {
}
} else {
const hostname = `${request.protocol}://${request.headers.host}`;
console.log({ protocol: request.protocol, host: request.headers.host });
const json = content
.toString()
.replaceAll(HOST, hostname)
Expand Down

0 comments on commit a86a03b

Please sign in to comment.