mirror of
https://github.com/withastro/astro.git
synced 2025-02-17 22:44:24 -05:00
refactor: fix typo in index.ts (#10227)
* 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>
This commit is contained in:
parent
a614923a3f
commit
b5927d57fa
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue