Skip to content

Commit

Permalink
refactor: fix typo in index.ts (#10227)
Browse files Browse the repository at this point in the history
* refactor: fix typo in index.ts

colum -> column

* Apply suggestions from code review

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

* Apply suggestions from code review

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
  • Loading branch information
3 people authored Mar 18, 2024
1 parent a614923 commit b5927d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/astro/src/core/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export class App {
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Proto
let protocol = request.headers.get('X-Forwarded-Proto');
if (protocol) {
// this header doesn't have the colum at the end, so we added to be in line with URL#protocol, which has it
// this header doesn't have a colon at the end, so we add to be in line with URL#protocol, which does have it
protocol = protocol + ':';
} else {
// we fall back to the protocol of the request
Expand Down

0 comments on commit b5927d5

Please sign in to comment.