Skip to content

Commit

Permalink
Adds to powered-by header default (#961)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminsehl committed May 30, 2023
1 parent 42a96f2 commit be912b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/mighty-foxes-prove.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/remix-oxygen': minor
---

Updates default `powered-by` header to `Shopify, Hydrogen`
2 changes: 1 addition & 1 deletion packages/remix-oxygen/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function createRequestHandler<Context = unknown>({
);

if (poweredByHeader) {
response.headers.append('powered-by', 'Hydrogen');
response.headers.append('powered-by', 'Shopify, Hydrogen');
}

return response;
Expand Down

0 comments on commit be912b2

Please sign in to comment.